erc20_balance
ERC20 balanceOf for a wallet and token contract on Base or Ethereum.
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": "erc20_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default) or ethereum | |
| token | Yes | ERC20 contract 0x | |
| address | Yes | Wallet 0x |