Example Calls
Common Solana RPC Methods & Descriptions

Method | Description |
---|---|
sendTransaction | Sends a transaction to the blockchain for confirmation. |
getBalance | Retrieves the current balance of a specified account. |
getAccountInfo | Provides detailed information about an account, including token balances and ownership. |
getTokenAccountsByOwner | Lists all SPL token accounts associated with a specified wallet address. |
getBlockHeight | Returns the current height of the blockchain. |
getVersion | Shows the current version of the Solana node software. |
simulateTransaction | Tests a transaction without submitting it, useful for debugging. |
getGenesisHash | Returns the unique hash of the first (genesis) block on Solana. |
getClusterNodes | Lists nodes participating in the Solana cluster. |
getSlot | Retrieves the current slot number on the blockchain. |
requestAirdrop | Requests SOL tokens from a testnet faucet to a specified account. |
getEpochSchedule | Provides scheduling information about blockchain epochs. |
getHealth | Checks the overall health and responsiveness of the RPC endpoint. |
getBlock | Retrieves data from a specific block by its slot number. |
getBlockCommitment | Shows commitment levels for transactions in a specified block. |
getBlockProduction | Gives information on the number of blocks produced by validators. |
getBlocks | Lists blocks within a specified range of slot numbers. |
getBlockTime | Retrieves the Unix timestamp for a specified block. |
getEpochInfo | Returns current epoch-related data, such as length and progression. |
getFeeForMessage | Estimates the transaction fee required for a given message. |
getFirstAvailableBlock | Provides the slot number of the earliest available block. |
getHighestSnapshotSlot | Gives the highest available snapshot slot number for recovery purposes. |
getIdentity | Returns the identity of the RPC node. |
getInflationGovernor | Retrieves settings and parameters governing Solana's inflation. |
getInflationRate | Provides current inflation rates and details. |
getInflationReward | Calculates inflation rewards for accounts during specific epochs. |
getLargestAccounts | Lists accounts with the largest balances on Solana. |
getLeaderSchedule | Shows validator leaders scheduled for block production. |
getMinimumBalanceForRentExemption | Calculates minimum SOL balance to avoid account rent fees. |
getProgramAccounts | Lists all accounts associated with a specific program. |
getRecentPerformanceSamples | Retrieves recent performance metrics of the Solana network. |
getSignaturesForAddress | Lists transaction signatures involving a specific account. |
getSlotLeader | Shows the current slot leader (validator responsible for the current block). |
getSupply | Provides circulating and total SOL supply details. |
getTokenAccountBalance | Checks the token balance of a specified token account. |
getTokenLargestAccounts | Lists largest holders of a particular token. |
getTokenSupply | Gives total supply information for an SPL token. |
getTransaction | Retrieves detailed information about a specific transaction by its signature. |
getTransactionCount | Provides the total number of processed transactions on Solana. |
getVoteAccounts | Lists validator accounts and their voting statuses. |
isBlockhashValid | Checks whether a given blockhash is valid or has expired. |
minimumLedgerSlot | Shows the minimum ledger slot number available for query. |
Updated 3 days ago