chain_balances
Multi-token wallet balances — Native balance plus up to 25 ERC-20 balances for one address in a single batched on-chain read (base, ethereum, arbitrum, optimism, polygon). address= required; tokens= optional comma list of token contracts (default: the chain's major stablecoins, wrapped native, BTC wrappers and chain token); hide_zero= true|false. Returns symbol, decimals, human balance and raw units; invalid token addresses are listed separately. Price: $0.004 USDC (Base, via x402).
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": {
"chain": "<chain>",
"address": "<address>"
},
"name": "chain_balances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ethereum | |
| address | Yes | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |