curl --request GET \
--url https://api.onchainden.com/api/v1/accounts/{accountId}/balances \
--header 'Authorization: Bearer <token>'{
"data": {
"accountId": "acc_123",
"balances": [
{
"networkId": 1,
"symbol": "ETH",
"name": "Ether",
"amount": "1.5",
"decimals": 123,
"contractAddress": "0xdef...abc"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
}Returns all token balances for an account across all networks.
curl --request GET \
--url https://api.onchainden.com/api/v1/accounts/{accountId}/balances \
--header 'Authorization: Bearer <token>'{
"data": {
"accountId": "acc_123",
"balances": [
{
"networkId": 1,
"symbol": "ETH",
"name": "Ether",
"amount": "1.5",
"decimals": 123,
"contractAddress": "0xdef...abc"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
}