Skip to main content

RPC/API Matrix

Solana RPC is used for network state reads, transaction sending, transaction simulation, and live update subscriptions (Solana RPC docs).

InterfaceStatusBest ForTransportProduction Notes
JSON-RPC HTTPStandardReads, simulation, transaction submission, batch requestsHTTPUse private/dedicated RPC, method allowlists, and rate limits.
WebSocket PubSubStandardAccount, log, program, slot, and signature subscriptionsWebSocketBound connection counts and reconnect with backoff.
Commitment levelsRecommendedChoosing freshness vs finality for reads and confirmationsHTTP / WebSocket optionUse confirmed for most UX and finalized for accounting/indexing checkpoints.
warning

Public RPC endpoints are shared dev/test infrastructure, not production capacity. Excess traffic can receive 429; blocked traffic can receive 403.