midl_get_token_balance
Retrieve the ERC20 token balance of a wallet address along with token metadata (symbol, name, decimals).
Instructions
Get ERC20 token balance for an address. Returns balance along with token metadata (symbol, name, decimals).
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": "midl_get_token_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenAddress | Yes | ERC20 token contract address | |
| ownerAddress | Yes | Address to check balance for |