solana-rpc-pool
A Solana RPC load balancer for Node.js
Spread JSON-RPC calls across several endpoints or API keys, stay under each one's rate limit, and fail over on 429s and timeouts. Zero dependencies.
Try it
npx github:blixvip/solana-rpc-pool getSlot
What it does
- A requests-per-second limit per endpoint
- Failover with backoff on 429, 403, 5xx and timeouts
- Batches in one HTTP request
- API keys never appear in errors or stats
Use it in your code
npm install github:blixvip/solana-rpc-pool
import { createPool } from "solana-rpc-pool";
const rpc = createPool({ endpoints: [urlA, urlB] });
const slot = await rpc.call("getSlot");
Full documentation, the API and the FAQ are in the README. It is MIT licensed and has no dependencies.
Guide
How to stop Solana RPC 429 errors (Too Many Requests)
From the team behind Blix
solana-rpc-pool is a small, open piece of what runs behind Blix, the AI-powered Solana memecoin terminal with 0% fees: every pump.fun launch live, AI coin ratings, narratives, wallet and X tracking, and one-click trading. If you want the result rather than the plumbing, use Blix. There is also a public API and an MCP server for AI agents.
Contribute
Pull requests are welcome and there are good first issues with step-by-step instructions. Setup is git clone and npm test. Ask anything in the Discord.