Skip to article
relayOpen console
Solana RPC
On this page

APIs

Solana RPC

Read chain data, simulate transactions, and submit signed transactions through JSON-RPC.

Request contract

Send POST /rpc with Content-Type: application/json. Each request needs jsonrpc: "2.0", a supported method, and a string or safe-integer id. Parameters may be an array or object. Notifications without an ID are not supported.

LimitMaximum
Requests in a batch1–10
Request body64 KiB
Upstream response body8 MiB

The sendBundle method must be sent separately, outside an outer batch. Every other supported batch item consumes its own credits and rate-limit capacity. Match responses by id and check each item for an error; one successful item does not make the whole batch successful.

Transactions and fee estimates

sendTransaction submits a transaction already signed by your wallet or signer. simulateTransaction simulates execution. getPriorityFeeEstimate and getRecentPrioritizationFees support fee estimation.

Transaction submission has an additional plan-specific limit within the RPC limit. Relay does not automatically replay sendTransaction on another connection. After an uncertain outcome, inspect the transaction signature before deciding what to do next.

Supported RPC methods

This table follows the gateway’s method policy. An upstream API being available elsewhere does not make it available through Relay.

MethodCreditsAdditional limit
getAccountInfo1—
getBalance1—
getBlock1—
getBlockCommitment1—
getBlockHeight1—
getBlockProduction1—
getBlocks1—
getBlocksWithLimit1—
getBlockTime1—
getClusterNodes1—
getEpochInfo1—
getEpochSchedule1—
getFeeForMessage1—
getFirstAvailableBlock1—
getGenesisHash1—
getHealth1—
getHighestSnapshotSlot1—
getIdentity1—
getInflationGovernor1—
getInflationRate1—
getInflationReward1—
getLargestAccounts1—
getLatestBlockhash1—
getLeaderSchedule1—
getMaxRetransmitSlot1—
getMaxShredInsertSlot1—
getMinimumBalanceForRentExemption1—
getMultipleAccounts1—
getProgramAccounts10Program-account queries
getProgramAccountsV21Program-account queries
getTokenAccountsByOwnerV21—
getPriorityFeeEstimate1—
getRecentPerformanceSamples1—
getRecentPrioritizationFees1—
getSignatureStatuses1—
getSignaturesForAddress1—
getSlot1—
getSlotLeader1—
getSlotLeaders1—
getStakeMinimumDelegation1—
getSupply1—
getTokenAccountBalance1—
getTokenAccountsByDelegate1—
getTokenAccountsByOwner1—
getTokenLargestAccounts1—
getTokenSupply1—
getTransaction1—
getTransactionCount1—
getVersion1—
getVoteAccounts1—
isBlockhashValid1—
minimumLedgerSlot1—
sendTransaction1Transaction submissions
simulateTransaction1—
sendBundle1—
getBundleStatuses1—
simulateBundle1—

All methods above use your RPC rate limit. getProgramAccounts and getProgramAccountsV2 also share the program-account limit, even though their credit costs differ.

Search documentation

Find what you need

Search article headings, methods, and explanations.