Every HTTP endpoint under /api on this deployment. All are public and unauthenticated (except the faucet's eligibility gate). No API key required — same-origin CORS only, intended for this site's own client code but safe to call directly.
Base URL: https://ag.validblocks.com · click Try it out on any endpoint below to call it live from your browser.
Standard Solana JSON-RPC 2.0 for the cluster itself — not this app's /api, but the validator that backs it. Use this for wallets, SDKs (@solana/web3.js, etc.), or any tool that expects a normal RPC URL.
POST / with a standard JSON-RPC 2.0 body. GET returns 405.curl https://rpc.ag.validblocks.com -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getSlot","params":[{"commitment":"finalized"}]}'Live cluster / slot / epoch data, sourced from the validator's RPC.
Current slot.
{ slot: number }Current epoch info (raw getEpochInfo passthrough).
{ absoluteSlot, blockHeight, epoch, slotIndex, slotsInEpoch, transactionCount }Effective slot duration + block CU limit derived live from the SIMD-0525 / block-limit feature gates. Never hardcode 400ms/100M — read this instead.
{ slotMs: number, blockCuLimit: number, ... }Cluster-wide skip rate for the current epoch, from getBlockProduction (authoritative — not the indexer's slot_status table).
{ epoch, epochStart, tip, slotsInEpoch, produced, skipped, total, rate }Current 4-slot leader window with per-slot status (upcoming/shred/processed/finalized/skipped), plus the next 3 upcoming leaders.
{ slot, leader, windowStart, windowLeaders: string[], slots: {slot,status}[], upcomingLeaders: string[] }Upcoming and just-passed leader rotations for the schedule rail. Served from in-memory state, no RPC/DB per request.
leaderPanel() shape — rotation entries with slot ranges + identityGossip-visible stake vs. the 80% threshold the validator waits for at slot 0 before producing.
{ slot, threshold, totalStake, visibleStake, visiblePct, missing: [...], gossipNodes, validatorCount }processed / confirmed / finalized slot, sampled in one RPC batch.
{ processed, confirmed, finalized, t: number }Bucketed commitment-stage timing history (InfluxDB).
{ buckets: [...], seconds, bucket }getRecentPerformanceSamples passthrough (tx/slot counts). Note: numNonVoteTransactions is always 0 on this cluster — no user activity.
{ samples: {slot, numTransactions, numNonVoteTransactions?, numSlots, samplePeriodSecs}[] }Per-bucket slot + tx aggregates powering the slot-time and tx/slot charts (InfluxDB via metrics-tap).
{ buckets: [...] }TPS over the last 30 slots (InfluxDB).
{ tps, totalTx, slots, blocks, elapsedSecs, newestSlot }Recent finalization latency stats (median / p95 over last 30s, InfluxDB).
{ medianMs, p95Ms, n }Realtime TPS buckets from the archive DB.
{ buckets: [...], bucketSec, seconds, asOf }Most recent produced blocks with tx count and CU usage.
{ slot, blocks: {slot, blockTime, blockhash, txCount, cu}[] }Per-vote-account activating/deactivating stake totals for the current epoch (served from a 5-min DB snapshot; falls back to a live scan if the snapshot is missing).
{ epoch, states: { [voteAccount]: { activating, deactivating } } }Effective (warmup-aware) active stake per vote account for a given stake-pool withdraw authority.
{ states: { [voteAccount]: { active, total } } }BLS key data for the Alpenglow validator set.
see src/lib/bls.tsValidator directory (identity → name / vote account / client version / icon) for the /live highlight search + tooltips.
{ validators: {identity, name, voteAccount, version, iconUrl}[] }Server-Sent Events. Connect with EventSource or curl -N — these stay open and push updates, they don't return a single JSON body.
Slot lifecycle events (first_shred / processed / confirmed / finalized / dead), replays the last 80 on connect.
event stream of SlotEvent JSONLive feed of recent block summaries — one server-side RPC feed fanned out to every connected client. Sends an immediate snapshot, then updates.
data: { slot, blocks: BlockBrief[] }Feed for the /live block-flow tape: named events snapshot / block / skipped / identity / gap.
named SSE events (see src/app/api/flow-events/route.ts)Dispenses testnet SOL to eligible addresses only (validator identity or vote account — see CLAUDE.md faucet anti-sybil notes). Protected by Cloudflare Turnstile + rate limits.
Request a drip. Recipient must be a known validator identity or vote account; capped at 1 drip / 24h per recipient.
{ signature, amount } | { error: "not_eligible" | "captcha_failed" | "cooldown" | "ip_rate_limited" | "global_rate_limited" | ... }⚠ Live call — really attempts a drip. It will fail for any address that isn't a validator identity or vote account on this cluster, and is rate-limited per recipient.
Poll a drip transaction's confirmation status.
{ status: "pending" | "processed" | "confirmed" | "finalized" | "failed", slot?, err? }Not authenticated, but not meant for external integrations — these expose indexer/validator operational internals for our own /status and /lab pages.
ag-indexer watermarks, DB totals, and solana.service state (backs /status).
{ liveWatermark, backfillFloor, firstAvailable, tip, gap, blocks, producedSlots, skippedSlots, txSignatures, validatorStartedAt, validatorActive, ... }Recent slots with per-stage commitment timestamps (backs /lab/commit-tape).
{ slots: {slot, tFirstShred, tProcessed, tFinalized}[], serverNow }