tokens
Run to learn which tokens a wallet holds and how much. Ranked by USD value; unverified (often spam airdrop) tokens are 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 USD value where priced. Example: {"wallet": "", "how_many": 10}. Cost: 25 free calls a day, then $0.01 USDC per call (x402). Outputs explained: GET /api/tools/tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet to read the tokens of. The user's address (from their wallet app) or your agent's public key. Not a .sol name or ticker. | |
| network | No | Default "mainnet-beta" (real money). "devnet" only for test wallets. | mainnet-beta |
| how_many | No | How many tokens, highest USD value first, to return. Default 25. | |
| include_empty | No | Include empty token accounts. True only to find empty accounts, e.g. to close them. |