get_balance
Get native and ERC-20 token balances for a wallet address.
Tier: Free
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Wallet address (0x…) |
chainId | number | No | Chain ID (default: 1) |
Example
"What is the ETH and token balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum?"Response
Returns a text list of token balances including:
- Native token balance
- ERC-20 token balances (from configured token list)
- All values in human-readable format
Supported Chains
All 5 supported chains: Ethereum (1), BNB Chain (56), Arbitrum (42161), Base (8453), Polygon (137)
Implementation
Uses viem multicall to batch-fetch native + ERC-20 balances in a single RPC call per chain.