Solana - JSON-RPC

JSON-RPC methods supported on Solana Mainnet and Solana Devnet through Tatum RPC Gateway, with base URLs and an example request.

Call Solana JSON-RPC methods through Tatum RPC Gateway. Send an HTTP POST request with a JSON-RPC 2.0 body to the network's base URL, with your API key in the x-api-key header. See Authentication.

Base URLs

NetworkBase URL
Solana Mainnethttps://solana-mainnet.gateway.tatum.io
Solana Devnethttps://solana-devnet.gateway.tatum.io

Example request

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}'

Methods

51 methods. Parameters and responses are described in the Solana RPC documentation; linked method names go to their page there.

MethodDescription
getAccountInfoReturns all information associated with the account of the provided pubkey.
getBalanceReturns the lamport balance of the account of the provided pubkey.
getBlockReturns identity and transaction information about a confirmed block in the ledger.
getBlockCommitmentReturns the commitment for a particular block.
getBlockHeightReturns the current block height of the node.
getBlockProductionReturns recent block production information from the current or previous epoch.
getBlocksReturns a list of confirmed blocks between two slots.
getBlocksWithLimitReturns a list of confirmed blocks starting at the given slot.
getBlockTimeReturns the estimated production time of a block.
getClusterNodesReturns information about all the nodes participating in the cluster.
getConfirmedSignaturesForAddress2Deprecated. Use getSignaturesForAddress instead.
getEpochInfoReturns information about the current epoch.
getEpochScheduleReturns the epoch schedule information from the cluster's genesis config.
getFeeForMessageReturns the fee the network will charge for a particular message.
getFirstAvailableBlockReturns the slot of the lowest confirmed block that has not been purged from the ledger.
getGenesisHashReturns the genesis hash.
getHealthReturns the current health of the node.
getHighestSnapshotSlotReturns the highest slot information that the node has snapshots for.
getIdentityReturns the identity pubkey for the current node.
getInflationGovernorReturns the current inflation governor.
getInflationRateReturns the specific inflation values for the current epoch.
getInflationRewardReturns the inflation or staking reward for a list of addresses for an epoch.
getLatestBlockhashReturns the latest blockhash.
getLeaderScheduleReturns the leader schedule for an epoch.
getMaxRetransmitSlotReturns the max slot seen from the retransmit stage.
getMaxShredInsertSlotReturns the max slot seen after shred insert.
getMinimumBalanceForRentExemptionReturns the minimum balance required to make an account rent exempt.
getMultipleAccountsReturns the account information for a list of pubkeys.
getProgramAccountsReturns all accounts owned by the provided program pubkey.
getRecentPerformanceSamplesReturns a list of recent performance samples, in reverse slot order.
getRecentPrioritizationFeesReturns a list of prioritization fees from recent blocks.
getSignaturesForAddressReturns signatures for confirmed transactions that include the given address in their accountKeys list.
getSignatureStatusesReturns the statuses of a list of signatures.
getSlotReturns the slot that has reached the given or default commitment level.
getSlotLeaderReturns the current slot leader.
getSlotLeadersReturns the slot leaders for a given slot range.
getStakeMinimumDelegationReturns the stake minimum delegation, in lamports.
getSupplyReturns information about the current supply.
getTokenAccountBalanceReturns the token balance of an SPL Token account.
getTokenAccountsByOwnerReturns all SPL Token accounts by token owner.
getTokenLargestAccountsReturns the 20 largest accounts of a particular SPL Token type.
getTokenSupplyReturns the total supply of an SPL Token type.
getTransactionReturns transaction details for a confirmed transaction.
getTransactionCountReturns the current transaction count from the ledger.
getVersionReturns the current Solana version running on the node.
getVoteAccountsReturns the account info and associated stake for all the voting accounts in the current bank.
isBlockhashValidReturns whether a blockhash is still valid.
minimumLedgerSlotReturns the lowest slot that the node has information about in its ledger.
requestAirdropRequests an airdrop of lamports to a pubkey. Not available on mainnet.
sendTransactionSubmits a signed transaction to the cluster for processing.
simulateTransactionSimulates sending a transaction.

The gateway lists its supported methods at runtime:

Method unavailable?

If you need a method we don't support yet, contact support.