See the Solana RPC API connection guide.
HTTP RPC
HTTP RPC| Method | Notes | Compute Unit Value |
|---|---|---|
getAccountInfo | Returns account information and data for a public key. | 5 |
getBalance | Returns the lamport balance for a public key. | 5 |
getBlock | Returns a confirmed block for a slot. | 10 |
getBlockHeight | Returns the current block height. | 1 |
getBlockProduction | Returns recent block-production information. | 1 |
getBlockCommitment | Returns commitment information for a block. | 1 |
getBlocks | Returns confirmed blocks in a slot range. | 5 |
getBlocksWithLimit | Returns a limited list of confirmed blocks starting at a slot. | 5 |
getBlockTime | Returns the estimated production time for a block. | 1 |
getClusterNodes | Returns contact information for cluster nodes. | 10 |
getEpochInfo | Returns information about the current epoch. | 1 |
getEpochSchedule | Returns the cluster epoch schedule. | 1 |
getFeeForMessage | Returns the fee for a serialized transaction message. | 5 |
getFirstAvailableBlock | Returns the first block available from the ledger. | 1 |
getGenesisHash | Returns the cluster genesis hash. | 1 |
getHealth | Returns success when the node is healthy. | 1 |
getHighestSnapshotSlot | Returns the highest full and incremental snapshot slots. | 1 |
getIdentity | Returns the node's identity public key. | 1 |
getInflationGovernor | Returns the inflation governor configuration. | 5 |
getInflationRate | Returns the current inflation rate. | 5 |
getInflationReward | Returns inflation rewards for one or more addresses. | 5 |
getLargestAccounts | Returns the largest accounts by lamport balance. | 50 |
getLatestBlockhash | Returns the latest blockhash and last valid block height. | 1 |
getLeaderSchedule | Returns the leader schedule for an epoch. | 10 |
getMaxRetransmitSlot | Returns the highest retransmit slot observed by the node. | 1 |
getMaxShredInsertSlot | Returns the highest shred-insert slot observed by the node. | 1 |
getMinimumBalanceForRentExemption | Returns the minimum balance required for rent exemption. | 5 |
getMultipleAccounts | Returns account information for multiple public keys. | 50 |
getProgramAccounts | Returns all accounts owned by a program that match filters. | 50 |
getRecentPerformanceSamples | Returns recent performance samples. | 10 |
getRecentPrioritizationFees | Returns recent prioritization-fee samples. | 10 |
getSignaturesForAddress | Returns confirmed transaction signatures involving an address. | 5 |
getSignatureStatuses | Returns statuses for transaction signatures. | 10 |
getSlot | Returns the current slot. | 5 |
getSlotLeader | Returns the leader for the current slot. | 5 |
getSlotLeaders | Returns leaders for a range of slots. | 5 |
getStakeActivation | Returns stake activation information for a stake account. | 5 |
getStakeMinimumDelegation | Returns the minimum stake delegation amount. | 5 |
getSupply | Returns information about the current token supply. | 5 |
getTokenAccountBalance | Returns the token balance for a token account. | 5 |
getTokenAccountsByDelegate | Returns token accounts delegated to an address. | 10 |
getTokenAccountsByOwner | Returns token accounts owned by an address. | 10 |
getTokenLargestAccounts | Returns the largest token accounts for a mint. | 50 |
getTokenSupply | Returns the token supply for a mint. | 5 |
getTransaction | Returns a confirmed transaction by signature. | 5 |
getTransactionCount | Returns the current transaction count. | 1 |
getVersion | Returns the node's software version. | 1 |
getVoteAccounts | Returns current and delinquent vote accounts. | 10 |
isBlockhashValid | Returns whether a blockhash is valid for transaction processing. | 1 |
minimumLedgerSlot | Returns the lowest slot retained in the ledger. | 1 |
requestAirdrop | Requests an airdrop of lamports to a public key. | 10 |
sendTransaction | Submits a signed transaction to the cluster. | 50 |
simulateTransaction | Simulates a signed transaction without committing it. | 10 |
