get_token_balance
Check ERC-20 or SPL token balances for wallets across EVM and Solana chains, returning both raw and human-readable amounts.
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 |
|---|---|---|---|
| wallet_id | Yes | Wallet ID to check | |
| 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 (6 for USDC, 18 for most tokens) |