read_wallet_balances
Get native ETH and ERC20 token balances for a wallet address. Reads directly from chain via RPC multicall. Use before write_account_add_liquidity or write_account_deposit to verify the wallet has sufficient tokens. Returns both raw balance (smallest unit/wei) and formatted (human-readable) per token.
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": {
"wallet_address": "<wallet_address>",
"token_addresses": "<token_addresses>"
},
"name": "read_wallet_balances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | No | Chain ID: 8453 (Base), 130 (Unichain), 10 (Optimism), or 4663 (Robinhood) | |
| wallet_address | Yes | Wallet address to check balances for | |
| token_addresses | Yes | ERC20 token contract addresses to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| native | Yes | ||
| tokens | Yes |