getTokenBalances
Get ERC-20 token balances for a wallet address on a single blockchain network. Specify the network, address, and optional token filter (contract list or type). Supports pagination with pageKey and maxCount (up to 100).
Instructions
Get ERC-20 token balances for a wallet address on a single network
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "getTokenBalances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| address | Yes | The wallet address to get token balances for. | |
| tokenSpec | No | Token specification: "erc20", "NATIVE_TOKEN", or an array of contract addresses. | |
| pageKey | No | Pagination key for fetching more results. | |
| maxCount | No | Max number of token balances to return. Capped at 100. |