Solana RPC Method Guides: Complete Developer Reference
Practical guides for using Solana RPC methods effectively. Real-world examples, code samples, and best practices for blockchain development.
Quick Navigation
Account & Balance Methods
Query account information, balances, and token data
Transaction Methods
Send, simulate, and track transactions on Solana
Block & Slot Methods
Access blockchain structure and timing information
Network & Cluster Methods
Monitor network health and validator information
What Are RPC Method Guides?
These practical guides show you how to use specific Solana RPC methods to solve common development challenges. Each guide includes:
- Real-world use cases and when to use each method
- Complete code examples in multiple languages
- Parameter explanations with practical tips
- Response structure breakdown
- Developer tips for optimization and best practices
Perfect for developers who want to understand not just what each RPC method does, but how to use it effectively in production applications.
Account & Balance Methods
Essential methods for querying account data, balances, and token information.
getAccountInfo
Get complete account details including balance, owner, and data
getBalance
Quick SOL balance lookup for any account
getMultipleAccounts
Batch query multiple accounts efficiently
getProgramAccounts
Find all accounts owned by a specific program
getLargestAccounts
Get accounts with largest SOL balances
getSupply
Get information about current supply
Token Account Methods
getTokenAccountsByOwner
Get all token accounts for a wallet
getTokenAccountsByDelegate
Query token accounts by delegate
getTokenAccountBalance
Get balance of a specific token account
getTokenSupply
Query total supply of an SPL token
getTokenLargestAccounts
Find accounts with largest token holdings
Transaction Methods
Methods for sending transactions, checking status, and retrieving transaction history.
getTransaction
Get detailed information about a specific transaction
getSignatures
Get transaction signatures for an account
getSignatureStatuses
Check confirmation status of transactions
getTransactionCount
Get total number of transactions processed
requestAirdrop
Request SOL airdrop on devnet/testnet
Transaction Fees & Simulation
getPriorityFees
Get recent priority fees for optimal pricing
getFeeForMessage
Calculate transaction fees before sending
Block & Slot Methods
Access blockchain structure, timing, and historical data.
getBlock
Get complete block information including all transactions
getBlockHeight
Get current block height of the network
getSlot
Get current slot number
getBlocks
Get list of confirmed blocks in a range
getBlocksWithLimit
Get limited number of confirmed blocks
getBlockTime
Get estimated production time of a block
Blockhash & Slot Information
getLatestBlockhash
Get most recent blockhash for transactions
isBlockhashValid
Validate if a blockhash is still valid
getSlotLeader
Get current slot leader
getSlotLeaders
Get slot leaders for a range of slots
getLeaderSchedule
Get leader schedule for an epoch
Network & Cluster Methods
Monitor network health, validator information, and cluster status.
getHealth
Check RPC node health status
getVersion
Get Solana software version information
getClusterNodes
Get information about cluster validators
getVoteAccounts
Get current and delinquent vote accounts
getEpochInfo
Get information about the current epoch
getEpochSchedule
Get epoch schedule information
Network Performance & Economics
getPerformanceSamples
Get recent network performance metrics
getInflationGovernor
Get current inflation parameters
getInflationRate
Get current inflation rate
getInflationReward
Calculate inflation rewards for accounts
getStakeDelegation
Get minimum stake delegation amount
Utility & System Methods
Helper methods for system information, validation, and advanced queries.
getRentExemption
Calculate minimum balance for rent exemption
getGenesisHash
Get genesis hash of the cluster
getIdentity
Get identity public key of the RPC node
getFirstAvailableBlock
Get slot of first available block
getHighestSnapshotSlot
Get highest slot with a snapshot
minimumLedgerSlot
Get minimum slot that node has ledger information
Advanced System Queries
getMaxRetransmitSlot
Get maximum slot seen from retransmit stage
getMaxShredInsertSlot
Get maximum slot seen from shred insert
Related Resources
RPC Optimization
Learn advanced techniques for optimizing RPC performance
WebSocket Methods
Explore real-time subscriptions and streaming data
API Reference
Complete technical reference for all RPC methods
Need help with a specific RPC method? Each guide includes practical examples and developer tips to get you started quickly. Browse the categories above or use the search to find exactly what you need.