get_token_balance
Get the ERC20 token balance of a wallet address and receive it converted to decimal units.
Instructions
Get the balance of an ERC20 token in base units. Convert to decimal units before returning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The address to get the balance of | |
| 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 | Yes | The address of the token to get the balance of |