tokens
Run when you need to know which tokens a wallet holds and how much. Ranked by USD value, with unverified (often spam airdrop) tokens flagged so you don't report fake holdings. Lists a wallet's tokens (SPL Token and Token-2022) with exact amounts, whether each is verified, and its USD value where there's a price. Inputs: wallet: The wallet address to read the tokens of. how_many (optional): How many tokens, highest USD value first, to return. Default 25. include_empty (optional): Whether to include empty token accounts. Default false. network (optional): Which Solana network to read. Default "mainnet-beta" (real money). Cost: 25 free calls a day, then $0.01 USDC per call (x402). Full field-by-field docs: GET /api/tools/tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet address to read the tokens of. The user's wallet address (from their wallet app, or your agent's own public key). Not a .sol name or a ticker. | |
| network | No | Which Solana network to read. Default "mainnet-beta" (real money). Leave it out for mainnet. Use "devnet" only for test wallets. | mainnet-beta |
| how_many | No | How many tokens, highest USD value first, to return. Default 25. Leave it out for 25. | |
| include_empty | No | Whether to include empty token accounts. Default false. Set true only to find empty accounts (for example to close them). |