Solana is a proof-of-stake Layer 1 blockchain that finalizes blocks with Alpenglow consensus and runs programs in parallel in the Sealevel runtime.
Solana programs are stateless and keep data in separate accounts addressed by base58-encoded Ed25519 public keys, and transactions declare the accounts they touch so the runtime can execute them in parallel. SOL pays transaction fees and the rent-exempt minimum balance for account storage. Nodes expose JSON-RPC over HTTP plus WebSocket subscriptions, and most methods take a commitment level: processed, confirmed, or finalized.
Solana RPC endpoints
HTTP requests take your API key in the x-api-key header. See Authentication.
For example, this request sends getBlockHeight to Solana Mainnet through the JSON-RPC interface:
curl 'https://solana-mainnet.gateway.tatum.io' \
--header 'content-type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '{"jsonrpc":"2.0","method":"getBlockHeight","params":[],"id":1}'Don't have an API key?
Sign up to Dashboard and create your API keys today. Get higher limits and use debugging tools.
Solana RPC at a glance
- Networks: Mainnet (Tier 1) and Devnet (Tier 2)
- Interfaces: JSON-RPC, gRPC and WebSocket
- Supported methods: 76 · JSON-RPC methods
- Native token:
SOL - Block explorers: Mainnet · Devnet
- Network status: Mainnet · Devnet
- Authentication: API key in the
x-api-keyheader, see Authentication
Try Solana RPC
Get the latest Solana block
Sends getBlockHeight to Solana Mainnet through Tatum RPC Gateway and shows the latest block number.
Get the Solana node version
Sends getVersion to Solana Mainnet through Tatum RPC Gateway and shows the node version and status.
To try more Solana methods, open the Solana Postman collection, set the gateway-api-key variable of the Tatum Gateway environment to your API key, and send any request.
Solana RPC methods
Methods each Solana interface supports, listed live from Tatum RPC Gateway.
JSON-RPC
51 methods on Mainnet and Devnet. What each one does: Solana JSON-RPC methods.
getAccountInfo, getBalance, getBlock, getBlockCommitment, getBlockHeight, getBlockProduction, getBlocks, getBlocksWithLimit, getBlockTime, getClusterNodes, getConfirmedSignaturesForAddress2, getEpochInfo, getEpochSchedule, getFeeForMessage, getFirstAvailableBlock, getGenesisHash, getHealth, getHighestSnapshotSlot, getIdentity, getInflationGovernor, getInflationRate, getInflationReward, getLatestBlockhash, getLeaderSchedule, getMaxRetransmitSlot, getMaxShredInsertSlot, getMinimumBalanceForRentExemption, getMultipleAccounts, getProgramAccounts, getRecentPerformanceSamples, getRecentPrioritizationFees, getSignaturesForAddress, getSignatureStatuses, getSlot, getSlotLeader, getSlotLeaders, getStakeMinimumDelegation, getSupply, getTokenAccountBalance, getTokenAccountsByOwner, getTokenLargestAccounts, getTokenSupply, getTransaction, getTransactionCount, getVersion, getVoteAccounts, isBlockhashValid, minimumLedgerSlot, requestAirdrop, sendTransaction, simulateTransaction
gRPC
9 methods on Mainnet. Guide with examples: Solana gRPC.
geyser.Geyser/GetBlockHeight, geyser.Geyser/GetLatestBlockhash, geyser.Geyser/GetSlot, geyser.Geyser/GetVersion, geyser.Geyser/IsBlockhashValid, geyser.Geyser/Ping, geyser.Geyser/Subscribe, geyser.Geyser/SubscribeDeshred, geyser.Geyser/SubscribeReplayInfo
WebSocket
16 methods on Mainnet and Devnet. Guide with examples: Solana WebSocket.
accountSubscribe, accountUnsubscribe, logsSubscribe, logsUnsubscribe, programSubscribe, programUnsubscribe, rootSubscribe, rootUnsubscribe, signatureSubscribe, signatureUnsubscribe, slotSubscribe, slotsUpdatesSubscribe, slotsUpdatesUnsubscribe, slotUnsubscribe, voteSubscribe, voteUnsubscribe
Every endpoint also lists its methods at runtime: /_methods (JSON) and /llms.txt (text), for example Solana Mainnet /_methods.
Method unavailable?If you need a method we don't support yet, contact support.
Related
- Solana RPC nodes on tatum.io: plans, pricing and dedicated nodes
- Supported Blockchains: every chain on Tatum RPC Gateway and its network tiers
- Solana official website: chain documentation
Testing without an API key? Free public endpoints are listed on Solana RPC at FREERPC.com.