HTTP Methods
Make on-demand requests to Solana nodes using standard HTTP calls—ideal for fetching account data, transactions, and blockchain state with simplicity and reliability.
Shyft RPC docs
Learn how to use Solana RPC methods with real-world examples, code snippets, and best practices. Understand request parameters, response formats, and when to use each method for efficient blockchain development.
Account & Balance Methods
Solana's Core RPC methods to fetch Solana account state, token info, and wallet balances.
getAccountInfo – fetch the full on-chain data and lamport balance of any account.
getBalance – fetch the current balance of a specific account.
getMultipleAccounts – Fetch data for multiple accounts in a single call. (Similar to getAccountInfo but for multiple accounts)
getProgramAccounts – Find all accounts owned by a specific on-chain program.
getSupply – Returns information about the current total supply of SOL, including circulating and non-circulating tokens.
Token Account Methods
Work with SPL tokens on Solana using these essential RPC methods.
getTokenAccountsByOwner – Fetch all SPL token accounts owned by a specific wallet address.
getTokenLargestAccounts – Retrieve the largest accounts holding a given SPL token — useful for analyzing token concentration and top holders.
getTokenAccountsByDelegate – Get all token accounts where a specific delegate is authorized to manage tokens on behalf of others.
getTokenAccountBalance – Check the balance of a specific SPL token account.
getTokenSupply – Returns the total supply of a given SPL token, helping track circulating and fixed supplies.
requestAirdrop – Requests free SOL (lamports) to a given account.
Transaction Methods
Core methods for sending transactions, tracking their confirmation status, and accessing historical transaction details on the Solana blockchain.
getTransaction — Retrieves the complete information about a transaction using its signature.
getSignaturesForAddress — Lists recent transaction signatures associated with a specific address.
getSignaturesStatuses — Returns confirmation status and error information for one or more transaction signatures.
getTransactionCount — Returns the total number of transactions sent by a given account.
simulateTransaction — Simulates a transaction without broadcasting it, useful for debugging and preflight checks.
sendTransaction — Submits a signed transaction to the network for processing.
getFeeForMessage — Returns the estimated transaction fee for a given compiled message, helping you simulate and plan transaction costs accurately.
Block & Slot Methods
Explore Solana’s block structure, slot progression, leader schedules, and ledger timing for historical and real-time insights.
getBlock — Fetch the full details of a confirmed or finalized block, including transactions.
getSlot — Returns the current slot the network is processing.
getBlocksWithLimit — Fetches a limited number of blocks starting from a given slot.
getBlockTime — Provides the Unix timestamp when a block was produced.
getLatestBlockhash — Returns the most recent finalized blockhash for sending transactions.
isBlockhashValid — Checks whether a given blockhash is still valid for transaction processing.
getSlotLeader — Fetches the current slot’s leader (i.e., the validator responsible for producing the block).
getLeaderSchedule — Provides the full schedule of slot leaders for a given epoch.
Network & Cluster Methods
Monitor overall network health, validator activity, epoch progress, and cluster-wide performance metrics.
getHealth — Checks whether the connected node is healthy and fully synced with the cluster.
getVersion — Returns the Solana software version running on the connected node.
getIdentity — Provides the public identity key of the current node.
getClusterNodes — Lists all nodes in the current cluster, including their public key, gossip, TPU, and RPC addresses.
getEpochInfo — Returns information about the current epoch, such as slot progress, epoch number, and leader schedule.
getEpochSchedule — Provides configuration details for epochs, including slot and leader rotation rules.
getPerformanceSamples — Provides recent samples of network performance, including transactions per second and average slot time.
getInflationGovernor — Returns the current inflation configuration for the network, including the initial rate, tapering schedule, long-term rate, and allocations to the foundation.
getInflationRate — Provides the current epoch’s inflation breakdown, including total inflation, validator share, foundation share, and the epoch number.
getInflationReward — Returns inflation rewards (staking rewards) credited to one or more addresses for a specific epoch.
getStakeMinimumDelegation — Returns the minimum number of lamports required to create a new stake delegation.
Utility & System Methods
Access low-level system utilities, validate blockhashes, estimate transaction fees, and retrieve protocol configuration data.
getGenesisHash — Returns the hash of the genesis block for chain identity verification.
getFirstAvailableBlock — Returns the earliest block still available from the node’s ledger.
getHighestSnapshotSlot — Retrieves the highest snapshot slot available across the network, useful for syncing nodes.
minimumLedgerSlot — Returns the lowest slot that the node still retains in its ledger.
getMaxShredInsertSlot — Retrieves the highest slot for which shreds can be inserted into the blockstore.
Last updated
Was this helpful?