API Reference

FluxRPC API Documentation

Browse the full FluxRPC platform surface: Solana and Fogo RPC, WebSocket subscriptions, Yellowstone gRPC, RugCheck intelligence, and Lantern self-hosted caching.

HTTP RPC

https://cdn.fluxrpc.com?key=<your-API-key>

WebSocket

wss://ws.eu.fluxrpc.com

Yellowstone gRPC

yellowstone.eu.fluxrpc.com

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.

Quick Start

  1. Create an account or sign in through the unified authentication flow.
  2. Generate an API key for the service family you need.
  3. Send JSON-RPC traffic over HTTPS or subscribe over WebSocket.
First RPC request
cURL
curl -X POST "https://eu.fluxrpc.com?key=<your-API-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getBalance",
    "params": ["YOUR_WALLET_ADDRESS"]
  }'

Developer Guides

Start here if you are new to Solana. Each guide takes one RPC method end to end — how to call it, how to read the response, and how to make it cheaper and faster. 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.

Browse by Area