Interact with Solana nodes using JSON-RPC 2.0
https://rpc.orbitflare.com
Content-Type: application/json
Field | Type | Description |
---|---|---|
jsonrpc | string | Must be “2.0” |
id | string/number | Unique request identifier |
method | string | The RPC method name |
params | array | Array of method parameters |
Field | Type | Description |
---|---|---|
jsonrpc | string | Always “2.0” |
id | string/number | Matches request identifier |
result | varies | The method’s result data |
error | object | Error details (if applicable) |
commitment
parameter to specify how confirmed the data should be:
processed
: Latest block (fastest, not confirmed)confirmed
: Confirmed by supermajority (balance between speed and finality)finalized
: Finalized by supermajority (slowest, fully confirmed)Type | Description |
---|---|
Pubkey | Base-58 encoded public key string |
Hash | Base-58 encoded SHA-256 hash string |
Signature | Base-58 encoded Ed25519 signature |
Slot | Integer block height/slot number |
ok
: Node is healthy and up-to-datebehind { slots: number }
: Node is behind by N slotserror
: Node is unhealthyprocessed
for UI updatesconfirmed
for most operationsfinalized
for critical operations