balance
Run before sending SOL or paying fees, to confirm the wallet really has enough. Never trust a balance remembered from earlier in a chat. Reads a wallet's SOL balance straight from the chain. Inputs: wallet: The wallet address to read the SOL balance of. 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/balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet address to read the SOL balance 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 |