get_token_balance
Retrieve a wallet's token balance for any ERC-20, TRC-20, SPL token, or native coin across multiple chains, with amount, decimals, symbol, and USD value.
Instructions
Fetch a wallet's balance of any ERC-20 token or the chain's native coin. Pass token: "native" for ETH (or chain-native asset) or an ERC-20 contract address. Returns amount, decimals, symbol, and USD value. For TRON, pass chain: "tron" with a base58 wallet (prefix T) and either token: "native" for TRX or a base58 TRC-20 address; returns a TronBalance (same fields, base58 token id). For Solana, pass chain: "solana" with a base58 wallet (43-44 chars) and either token: "native" for SOL or an SPL mint address; returns a SolanaBalance (same fields, base58 mint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| token | Yes | ||
| chain | No | ethereum |