List EVM token balances
Changed onLists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page.
Calls to the base and base-sepolia networks offer:
- 99.5% < 2 second freshness from chain tip for new tokens on an address.
- 99.5% < 2 second freshness from chain tip for balance data.
Calls to the ethereum network offer:
- 99% < 30 second freshness from chain tip for new tokens on an address.
- 99% < 2 second freshness from chain tip for balance data.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
The 0x-prefixed EVM address to get balances for. The address does not need to be checksummed.
The name of the supported EVM networks in human-readable format.
The human-readable network name to get the balances for.
Query parameters
The number of resources to return per page.
The token for the next page of resources, if any.
Response
Successfully listed token balances.
The list of EVM token balances.
Example response
{
"balances": [
{
"amount": {
"amount": "1250000000000000000",
"decimals": 18
},
"token": {
"network": "base",
"symbol": "ETH",
"name": "ether",
"contractAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
}
},
{
"amount": {
"amount": "123456",
"decimals": 6
},
"token": {
"network": "base",
"symbol": "USDC",
"name": "USD Coin",
"contractAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
}
],
"nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
2 more changes in this revision
- warning