get_token_balance
Retrieve the balance of an ERC-20 token for a specific address, with results in both raw and human-readable formats using the token's decimals and symbol.
Instructions
Get an ERC-20 token balance for an address, returned both raw and human-readable (uses the token's decimals and symbol).
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>",
"token": "<token>",
"address": "<address>"
},
"name": "get_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain slug, e.g. 'eth', 'base', 'robinhood' | |
| token | Yes | ERC-20 contract address | |
| address | Yes | Holder address to check |