Get SOL Balance
sol_get_balanceRetrieve the SOL balance for any Solana wallet or account by providing its public key. Uses the configured RPC endpoint to return the current balance.
Instructions
Fetch the SOL balance for a wallet or account using the configured Solana RPC endpoint.
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": "sol_get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | No | Alias for address | |
| address | No | Wallet or account public key in base58 | |
| commitment | No | Optional commitment override |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |