Get Erc20 Balance
get_erc20_balanceGet the exact on-chain ERC-20 balance of a wallet for one token contract, normalized by decimals and returned with the token's symbol. Use for a precise single-token check.
Use when: Use when a specific token contract's balance must be verified block-accurately — e.g. confirming funds before an approval or transfer. For a multi-asset portfolio view use get_wallet_portfolio instead.
Limitations: One token contract per call on Ethereum or Base; the contract address is required, so unknown tokens cannot be looked up by symbol. Returns raw balance data only — no USD valuation.
Alternatives: get_wallet_portfolio, get_eth_balance
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | No | Chain ID (1=Ethereum, 8453=Base) | |
| token_address | Yes | ERC-20 token contract address (0x…) | |
| wallet_address | Yes | Wallet address (0x…) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| balance_raw | Yes | ||
| token_symbol | Yes | ||
| token_address | Yes | ||
| token_decimals | Yes | ||
| wallet_address | Yes | ||
| balance_formatted | Yes |