get_token_balance
Check the ERC20 token balance held by a wallet address or ENS name. Use it to verify how many tokens an account owns before transfers or contract interactions.
Instructions
Get the balance of an ERC20 token for an address
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": {
"tokenAddress": "<tokenAddress>",
"ownerAddress": "<ownerAddress>"
},
"name": "get_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerAddress | Yes | The wallet address or ENS name to check the balance for (e.g., '0x1234...' or 'vitalik.eth') | |
| tokenAddress | Yes | The contract address or ENS name of the ERC20 token (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth') |