token_balances
Retrieve native and fungible token balances for a blockchain address. Supports multiple chains, value conversion in chosen currency, and optional NFT balances with spam filtering.
Instructions
Commonly used to fetch the native and fungible (ERC20) tokens held by an address. Required: chainName (blockchain network), address (wallet address). Optional: quoteCurrency for value conversion, nft (include NFTs, default false), noNftFetch, noSpam, and noNftAssetMetadata (all default true) to control data returned. Returns detailed token balance information including spot prices and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainName | Yes | The blockchain network to query (e.g., 'eth-mainnet', 'matic-mainnet', 'bsc-mainnet'). | |
| address | Yes | The wallet address to get token balances for. Must be a valid blockchain address. | |
| quoteCurrency | No | Currency to quote token values in (e.g., 'USD', 'EUR'). If not specified, uses default quote currency. | |
| nft | No | Include NFT token balances in the response. Default is false. | |
| noNftFetch | No | Skip fetching NFT metadata. Default is true for better performance. | |
| noSpam | No | Filter out spam/scam tokens from results. Default is true. | |
| noNftAssetMetadata | No | Skip fetching NFT asset metadata. Default is true for better performance. |