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
| Network | Base URL |
|---|---|
| Solana Mainnet | https://solana-mainnet.gateway.tatum.io |
| Solana Devnet | https://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.
| Method | Description |
|---|---|
getAccountInfo | Returns all information associated with the account of the provided pubkey. |
getBalance | Returns the lamport balance of the account of the provided pubkey. |
getBlock | Returns identity and transaction information about a confirmed block in the ledger. |
getBlockCommitment | Returns the commitment for a particular block. |
getBlockHeight | Returns the current block height of the node. |
getBlockProduction | Returns recent block production information from the current or previous epoch. |
getBlocks | Returns a list of confirmed blocks between two slots. |
getBlocksWithLimit | Returns a list of confirmed blocks starting at the given slot. |
getBlockTime | Returns the estimated production time of a block. |
getClusterNodes | Returns information about all the nodes participating in the cluster. |
getConfirmedSignaturesForAddress2 | Deprecated. Use getSignaturesForAddress instead. |
getEpochInfo | Returns information about the current epoch. |
getEpochSchedule | Returns the epoch schedule information from the cluster's genesis config. |
getFeeForMessage | Returns the fee the network will charge for a particular message. |
getFirstAvailableBlock | Returns the slot of the lowest confirmed block that has not been purged from the ledger. |
getGenesisHash | Returns the genesis hash. |
getHealth | Returns the current health of the node. |
getHighestSnapshotSlot | Returns the highest slot information that the node has snapshots for. |
getIdentity | Returns the identity pubkey for the current node. |
getInflationGovernor | Returns the current inflation governor. |
getInflationRate | Returns the specific inflation values for the current epoch. |
getInflationReward | Returns the inflation or staking reward for a list of addresses for an epoch. |
getLatestBlockhash | Returns the latest blockhash. |
getLeaderSchedule | Returns the leader schedule for an epoch. |
getMaxRetransmitSlot | Returns the max slot seen from the retransmit stage. |
getMaxShredInsertSlot | Returns the max slot seen after shred insert. |
getMinimumBalanceForRentExemption | Returns the minimum balance required to make an account rent exempt. |
getMultipleAccounts | Returns the account information for a list of pubkeys. |
getProgramAccounts | Returns all accounts owned by the provided program pubkey. |
getRecentPerformanceSamples | Returns a list of recent performance samples, in reverse slot order. |
getRecentPrioritizationFees | Returns a list of prioritization fees from recent blocks. |
getSignaturesForAddress | Returns signatures for confirmed transactions that include the given address in their accountKeys list. |
getSignatureStatuses | Returns the statuses of a list of signatures. |
getSlot | Returns the slot that has reached the given or default commitment level. |
getSlotLeader | Returns the current slot leader. |
getSlotLeaders | Returns the slot leaders for a given slot range. |
getStakeMinimumDelegation | Returns the stake minimum delegation, in lamports. |
getSupply | Returns information about the current supply. |
getTokenAccountBalance | Returns the token balance of an SPL Token account. |
getTokenAccountsByOwner | Returns all SPL Token accounts by token owner. |
getTokenLargestAccounts | Returns the 20 largest accounts of a particular SPL Token type. |
getTokenSupply | Returns the total supply of an SPL Token type. |
getTransaction | Returns transaction details for a confirmed transaction. |
getTransactionCount | Returns the current transaction count from the ledger. |
getVersion | Returns the current Solana version running on the node. |
getVoteAccounts | Returns the account info and associated stake for all the voting accounts in the current bank. |
isBlockhashValid | Returns whether a blockhash is still valid. |
minimumLedgerSlot | Returns the lowest slot that the node has information about in its ledger. |
requestAirdrop | Requests an airdrop of lamports to a pubkey. Not available on mainnet. |
sendTransaction | Submits a signed transaction to the cluster for processing. |
simulateTransaction | Simulates 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.