get_balance
Check a wallet's balance for native currency or any ERC20 token by providing the wallet address and optional chain ID or token contract address. Returns the current balance.
Instructions
Get the balance of the wallet for native currency or a specific ERC20 token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The wallet address to check the balance for. | |
| chainId | No | Optional EVM chain ID to run this tool on (e.g. 1 for Ethereum, 8453 for Base, 42161 for Arbitrum). Defaults to the active wallet chain. | |
| tokenAddress | No | Optional: The contract address of the ERC20 token. If omitted, the native currency balance is returned. |