balance
Solana wallet balance: SOL and USDC (Solana public RPC) — $0.005 USDC per call via x402 v2 (Solana or Base).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>"
},
"name": "balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana wallet address (base58 public key) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| sol | No | SOL balance | |
| slot | No | ||
| usdc | No | USDC balance (all USDC token accounts) | |
| wallet | No | ||
| network | No |