FluxRPC API Documentation
The fastest RPC infrastructure for Solana & Fogo blockchain. Browse 52 RPC methods, 18 WebSocket subscriptions, and Yellowstone gRPC.
Quick Start
- Create an account or sign in through the unified authentication flow.
- Generate an API key for the service family you need.
- Send requests to
https://eu.fluxrpc.com?key=<your-api-key>or subscribe atwss://ws.eu.fluxrpc.com. - Use Yellowstone gRPC streams for real-time blockchain data.
Endpoints
Solana RPC: https://eu.fluxrpc.com?key=<API-KEY>
Fogo RPC: https://eu.fogo.fluxrpc.com?key=<API-KEY>
WebSocket: wss://ws.eu.fluxrpc.com
Yellowstone gRPC: yellowstone.eu.fluxrpc.com
Documentation Sections
- Getting Started — Start with endpoints, authentication, and your first request.
- Developer Guides — Follow task-based Solana walkthroughs with runnable code and optimization notes.
- RPC Methods — Browse the full Solana and Fogo JSON-RPC method reference.
- WebSocket — Subscribe to real-time account, slot, logs, and transaction updates.
- Yellowstone gRPC — Use streaming gRPC for high-volume real-time blockchain data.
- RugCheck API — Explore token intelligence, risk analysis, and RugCheck automation endpoints.
- Lantern — Learn the self-hosted caching and failover layer for Solana RPC workloads.
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.
- 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.
Quick Start Example
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"]
}'