ERC-20 token balance of a wallet
chain_erc20_balanceOne token balance for one wallet, live from the chain: pass the wallet and the ERC-20 contract (or 'usdc'). Returns human-readable balance, raw amount, symbol, name, decimals and the block read. Chains: Base (default), Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis, Base Sepolia. 422 (not charged) if the address is not a token. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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>",
"token": "<token>"
},
"name": "chain_erc20_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain (default base) | |
| token | Yes | ERC-20 contract 0x… or 'usdc' | |
| address | Yes | Wallet address 0x… |