Solana RPC
Full Solana JSON-RPC 2.0 implementation — every method, no rate limits on dedicated capacity.
Request format
{ "jsonrpc": "2.0", "id": 1, "method": "<method>", "params": [ /* positional parameters */ { "commitment": "confirmed" } /* optional config object */ ]}Response format
{ "jsonrpc": "2.0", "id": 1, "result": { /* method-specific result */ }} /* Error case */{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32602, "message": "Invalid params" }}Error codes follow the JSON-RPC 2.0 spec. Solana-specific codes are in the range -32000 to -32099.
Commitment levels
processed— slot received, not yet confirmed. Lowest latency.confirmed— majority of validators voted on this slot.finalized— slot is rooted and will not be rolled back.
Default commitment is finalized unless overridden in the config object.
Common methods
| Method | Description |
|---|---|
| getSlot | Current slot number |
| getBalance | Lamport balance for an address |
| getAccountInfo | Full account data (owner, data, lamports, rent epoch) |
| getMultipleAccounts | Batch account info in a single call |
| getTransaction | Transaction by signature (with metadata) |
| sendTransaction | Submit a signed, serialised transaction |
| simulateTransaction | Dry-run a transaction without committing |
| getLatestBlockhash | Current blockhash + last-valid block height |
| getSignatureStatuses | Confirmation status for one or more signatures |
| getProgramAccounts | All accounts owned by a program (with filters) |
| getTokenAccountsByOwner | SPL token accounts for a wallet |