Solana

📘

See the Solana RPC API connection guide.

HTTP RPC

MethodNotesCompute Unit Value
getAccountInfoReturns account information and data for a public key.5
getBalanceReturns the lamport balance for a public key.5
getBlockReturns a confirmed block for a slot.10
getBlockHeightReturns the current block height.1
getBlockProductionReturns recent block-production information.1
getBlockCommitmentReturns commitment information for a block.1
getBlocksReturns confirmed blocks in a slot range.5
getBlocksWithLimitReturns a limited list of confirmed blocks starting at a slot.5
getBlockTimeReturns the estimated production time for a block.1
getClusterNodesReturns contact information for cluster nodes.10
getEpochInfoReturns information about the current epoch.1
getEpochScheduleReturns the cluster epoch schedule.1
getFeeForMessageReturns the fee for a serialized transaction message.5
getFirstAvailableBlockReturns the first block available from the ledger.1
getGenesisHashReturns the cluster genesis hash.1
getHealthReturns success when the node is healthy.1
getHighestSnapshotSlotReturns the highest full and incremental snapshot slots.1
getIdentityReturns the node's identity public key.1
getInflationGovernorReturns the inflation governor configuration.5
getInflationRateReturns the current inflation rate.5
getInflationRewardReturns inflation rewards for one or more addresses.5
getLargestAccountsReturns the largest accounts by lamport balance.50
getLatestBlockhashReturns the latest blockhash and last valid block height.1
getLeaderScheduleReturns the leader schedule for an epoch.10
getMaxRetransmitSlotReturns the highest retransmit slot observed by the node.1
getMaxShredInsertSlotReturns the highest shred-insert slot observed by the node.1
getMinimumBalanceForRentExemptionReturns the minimum balance required for rent exemption.5
getMultipleAccountsReturns account information for multiple public keys.50
getProgramAccountsReturns all accounts owned by a program that match filters.50
getRecentPerformanceSamplesReturns recent performance samples.10
getRecentPrioritizationFeesReturns recent prioritization-fee samples.10
getSignaturesForAddressReturns confirmed transaction signatures involving an address.5
getSignatureStatusesReturns statuses for transaction signatures.10
getSlotReturns the current slot.5
getSlotLeaderReturns the leader for the current slot.5
getSlotLeadersReturns leaders for a range of slots.5
getStakeActivationReturns stake activation information for a stake account.5
getStakeMinimumDelegationReturns the minimum stake delegation amount.5
getSupplyReturns information about the current token supply.5
getTokenAccountBalanceReturns the token balance for a token account.5
getTokenAccountsByDelegateReturns token accounts delegated to an address.10
getTokenAccountsByOwnerReturns token accounts owned by an address.10
getTokenLargestAccountsReturns the largest token accounts for a mint.50
getTokenSupplyReturns the token supply for a mint.5
getTransactionReturns a confirmed transaction by signature.5
getTransactionCountReturns the current transaction count.1
getVersionReturns the node's software version.1
getVoteAccountsReturns current and delinquent vote accounts.10
isBlockhashValidReturns whether a blockhash is valid for transaction processing.1
minimumLedgerSlotReturns the lowest slot retained in the ledger.1
requestAirdropRequests an airdrop of lamports to a public key.10
sendTransactionSubmits a signed transaction to the cluster.50
simulateTransactionSimulates a signed transaction without committing it.10