Get Wallet Balance
get_balanceQuery wallet balances on Ethereum or Polygon, returning native and ERC-20 token holdings by wallet address; specify a token symbol/address or retrieve all common tokens.
Instructions
Get wallet balance. Omit token for native only, use 'all' for native + common ERC-20s, or specify a token symbol/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": {
"address": "<address>"
},
"name": "get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Blockchain to query | polygon |
| token | No | Token to query: omit for native only, 'all' for native + common tokens, or specific token (USDC.e, USDC, USDT, DAI, WETH, WMATIC, or 0x address) | |
| rpcUrl | No | Optional custom RPC URL (defaults to publicnode.com for the selected chain) | |
| address | Yes | Wallet address (0x...) |