RPC Reference
RPC HTTP Methods
Your FluxRPC Endpoint
https://eu.fluxrpc.com?key= <your-API-key>Get your API key from the FluxRPC dashboard
Ultra-Fast
Sub-100ms global latency
99.9% Uptime
Engineered for reliability under any load
Full Solana RPC 2.0 support
Head-slot data accuracy
Historical Data
RpcResponse Structure
Many methods return an RpcResponse JSON object with two parts:
context An RpcResponseContext including a slot field at which the operation was evaluated.
value The value returned by the operation itself.
Parsed Responses
Some methods support encoding and can return data in parsed JSON when "encoding":"jsonParsed" is requested. Supported programs include SPL Token, SPL Token 2022, Stake, Vote, Config, BPF Loader, and Address Lookup Tables .
Developer Guides
Task-based walkthroughs that go past the call signature: response fields, encoding trade-offs, and the mistakes that cost bandwidth. Browse all guides
getAccountInfo Solana Developer Guide
Read a single Solana account with getAccountInfo: response fields, encoding trade-offs, parsing program-specific data, and cutting bandwidth costs.
getMultipleAccounts Solana Developer Guide
Batch up to 255 Solana account reads into one getMultipleAccounts request, handle missing accounts safely, and cut bandwidth with dataSlice. Measured before and after.
getProgramAccounts Solana Developer Guide
Fetch all accounts a Solana program owns with getProgramAccounts, then cut a 10 GB scan to kilobytes with memcmp filters, changedSinceSlot, and dataSlice.
getBalance Solana Developer Guide
Read a Solana account balance with getBalance from the browser, using Shield keys that keep your account key out of the frontend. Includes a wallet connector in plain JavaScript.
getTokenAccountsByOwner Solana Developer Guide
Fetch every token account a Solana wallet owns with getTokenAccountsByOwner, decode mints and balances by slicing bytes, and score the token with RugCheck.
getTokenLargestAccounts Solana Developer Guide
Fetch the 20 largest holders of a Solana token with getTokenLargestAccounts, then get the same list, owning wallets included, from a RugCheck token report.
Solana Holder Analysis with getTokenAccountsCount Developer Guide
In this guide, we will learn how to use getTokenAccountsCount and getTokenLargestAccounts to make a simple "holder analysis" frontend. The frontend will display the total number of holders, as well as the 20 biggest ones. This is a useful thing to do in many contexts, like trading terminals where users would want to know how healthy a token's distribution is.
sendTransaction Solana Developer Guide
Send SOL from a connected wallet: build the transfer in the browser, have the wallet sign it, and submit the signed bytes with sendTransaction.
getPriorityFeeEstimate Solana Developer Guide
Set an accurate Solana priority fee: size the compute unit limit from a simulation, then price it with getPriorityFeeEstimate before you sign and send.
Confirm a Solana Transaction over a WebSocket
Confirm a Solana transaction with signatureSubscribe: subscribe before you submit, run the socket in a Web Worker, and fall back to getSignatureStatuses.
getBlock Solana Developer Guide
Build an application that lists Solana blocks as the chain produces them. Start by fetching one block with getBlock, then improve upon your application using Yellowstone-over-websockets ("Yellowsockets").
Solana v1 Transactions Developer Guide
Solana v1 transactions run up to 4096 bytes, drop address lookup tables, and carry priority fees and compute limits in a header. Craft and send one byte by byte.
HTTP Methods
52Account
6getAccountInfo
Returns all information associated with the account of provided Pubkey.
getBalance
Returns the lamport balance of the account of provided Pubkey.
getLargestAccounts
Returns the 20 largest accounts, by lamport balance.
getMultipleAccounts
Returns the account information for a list of Pubkeys.
getProgramAccounts
Returns all accounts owned by the provided program Pubkey.
getMinimumBalanceForRentExemption
Returns minimum balance required to make account rent exempt.
Block
6getBlock
Returns identity and transaction information about a confirmed block in the ledger.
getBlockHeight
Returns the current block height of the node.
getBlocks
Returns a list of confirmed blocks between two slots.
getBlocksWithLimit
Returns a list of confirmed blocks starting at the given slot.
getBlockTime
Returns the estimated production time of a block.
getFirstAvailableBlock
Returns the slot of the lowest confirmed block that has not been purged from the ledger. On Solana and Fogo Testnet, we don't yet have historical data storage. This will return the oldest cached block. On Fogo Mainnet, we do have historical data storage, and it will return normally.
Transaction
10getTransaction
Returns transaction details for a confirmed transaction.
getTransactionCount
Returns the current Transaction count from the ledger.
getSignaturesForAddress
Returns signatures for confirmed transactions that include the given address in their accountKeys list. Returns signatures backwards in time from the provided signature or most recent confirmed block.
getTransactionsForAddress
Transaction history query with advanced filtering, bidirectional sorting, and efficient pagination. This method provides significantly more power than the standard getSignaturesForAddress, with features including: • Retrieve full transaction data in a single call without additional getTransaction requests • Time-based filtering with Unix timestamps and slot ranges • Status filtering for succeeded/failed transactions • Chronological or reverse-chronological sorting • Simple pagination with slot:position tokens.
getSignatureStatuses
Returns the statuses of a list of signatures. Each signature must be a txid, the first signature of a transaction.
getRecentPrioritizationFees
Returns a list of prioritization fees from recent blocks. Currently, a node's prioritization-fee cache stores data from up to 150 blocks.
sendTransaction
Submits a signed transaction to the cluster for processing.
simulateTransaction
Simulate sending a transaction.
getFeeForMessage
Get the fee the network will charge for a particular message.
getPriorityFeeEstimate
Estimates the priority fee (in microlamports) required for a transaction. This method can also estimate the optimal Jito fee. Requires either a serialized transaction, or an array of Solana account public keys.
Token
6getTokenAccountBalance
Returns the token balance of an SPL Token account.
getTokenAccountsByOwner
Returns all SPL Token accounts by token owner.
getTokenAccountsByDelegate
Returns all SPL Token accounts by approved delegate.
getTokenLargestAccounts
Returns the 20 largest accounts of a particular SPL Token type.
getTokenSupply
Returns the total supply of an SPL Token type.
getTokenAccountsCount
Returns the number of token accounts that have been created for this mint.
Epoch
2Slot
6getSlot
Returns the slot that has reached the given or default commitment level.
getSlotLeader
Returns the current slot leader.
getSlotLeaders
Returns the slot leaders for a given slot range.
getMaxRetransmitSlot
Get the max slot seen from retransmit stage.
getMaxShredInsertSlot
Get the max slot seen from after shred insert.
minimumLedgerSlot
Returns the lowest slot that the node has information about in its ledger.
Cluster & Node
7getClusterNodes
Returns information about all the nodes participating in the cluster.
getHealth
Returns the current health of the node. A healthy node is one that is within HEALTH_CHECK_SLOT_DISTANCE slots of the latest cluster confirmed slot.
getIdentity
Returns the identity pubkey for the current node.
getVersion
Returns the current Solana version running on the node.
getHighestSnapshotSlot
Returns the highest slot information that the node has snapshots for.
getGenesisHash
Returns the genesis hash.
getRecentPerformanceSamples
Returns a list of recent performance samples, in reverse slot order. Performance samples are taken every 60 seconds.