The agent's x402 spending wallet (address + balance)
x402_walletInspect a Solana wallet's address and live SOL and USDC balances, deriving it from the configured signer when no address is given. Use it before payments to confirm USDC is available; read-only.
Instructions
Show a Solana wallet's address and live SOL + USDC balance. With no address, derives the wallet from the configured signer (SOLANA_SECRET_KEY). Call this before pay_and_call to confirm there's USDC to spend. Read-only; never moves funds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Base58 Solana address to inspect. Omit to use the configured signer wallet. |