RPC Reference

RPC HTTP Methods

Interact with the Solana blockchain through FluxRPC. All standard JSON-RPC methods are fully supported with ultra-low latency and real-time data.

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

FluxRPC only provides historical transaction and block data for Fogo. On Solana, RPC calls fetching transactions or blocks will work for recent transactions only.

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

52

Transaction

10

getTransaction

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.