Loading…
Free JSON-RPC endpoint for the Alpenglow community cluster, served by our own non-voting Firedancer node. No API key, no sign-up. It is meant for wallets, scripts, explorers and validator tooling on this test cluster. Please keep heavy account scans to a minimum: they slow the node down for everyone.
curl https://rpc.ag.validblocks.com -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getSlot"}'solana config set --url https://rpc.ag.validblocks.com
solana epoch-info
solana validatorsimport { Connection } from "@solana/web3.js";
const connection = new Connection("https://rpc.ag.validblocks.com", "confirmed");
const slot = await connection.getSlot();
// No WebSocket: send, then poll the signature status
const sig = await connection.sendRawTransaction(signedTx.serialize());
for (;;) {
const { value: [st] } = await connection.getSignatureStatuses([sig]);
if (st?.err) throw new Error("failed");
if (st?.confirmationStatus === "confirmed" || st?.confirmationStatus === "finalized") break;
await new Promise((r) => setTimeout(r, 1000));
}