get_token_balance
Get the ERC-20 or SPL token balance for a wallet on a specific chain. Returns the raw balance and human-readable balance. Use get_chains to find stablecoin addresses for each chain.
Instructions
Get the ERC-20 or SPL token balance for a wallet on a specific chain. Returns the raw balance and human-readable balance. Use get_chains to find stablecoin addresses for each chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token address (0x-prefixed ERC-20 contract for EVM, Base58 mint for Solana) | |
| chain_id | Yes | Chain ID to check on | |
| decimals | No | Token decimals. Taken from the response or the token contract when omitted | |
| wallet_id | Yes | Wallet ID to check |