Archive Node RPC

Moonbeam Archive Node RPC

Query the full history of Moonbeam — balances, contract storage, and transaction traces at any past block — with archive node access included on every paid SwiftNodes plan. No separate archive tier, no per-request fees.

Endpoint

https://rpc.swiftnodes.io/rpc/moonbeam?key=YOUR_API_KEY

Archive queries use the same Moonbeam HTTP endpoint — just pass a historical block tag. The matching WebSocket endpoint is wss://rpc.swiftnodes.io/ws/moonbeam?key=YOUR_API_KEY.

Query historical Moonbeam state

// Read historical state at a past block on Moonbeam (archive query)
const balanceAtBlock = await client.getBalance({
  address: "0x0000000000000000000000000000000000000000",
  blockNumber: 1_000_000n,
});

// Replay a transaction's execution trace (requires archive data)
const trace = await fetch("https://rpc.swiftnodes.io/rpc/moonbeam?key=YOUR_API_KEY", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0", id: 1,
    method: "debug_traceTransaction",
    params: ["0x<txhash>", { tracer: "callTracer" }],
  }),
}).then((r) => r.json());

What archive access unlocks

  • eth_getBalance / eth_call at any historical block number
  • eth_getStorageAt for contract storage at a past block
  • debug_traceTransaction to replay and inspect old transactions
  • Point-in-time analytics, accounting, and reconciliation

Moonbeam is an Polkadot parachain (EVM-compatible), with ~~6 seconds block times and shared finality via polkadot relay chain (grandpa); roughly 12-30 seconds finality. Historical queries reach back across its entire chain history.

Frequently asked questions

Does SwiftNodes offer Moonbeam archive node access?

Yes. Archive access for Moonbeam — querying state at any historical block — is included on every paid plan. There is no separate, more expensive "archive tier" to upgrade to.

What's the difference between a full node and an archive node?

A full node keeps only recent state (typically the last ~128 blocks) and prunes older state. An archive node retains the complete historical state, so you can read balances, storage, and run traces at any past block on Moonbeam.

Is Moonbeam archive access an extra charge?

No. Unlike providers that gate archive behind a premium tier, SwiftNodes includes archive queries in all paid plans for supported chains, billed at the same flat monthly rate.

See the full Moonbeam RPC page for chain details, or the API reference for the complete method list.

Get a Moonbeam endpoint free

HTTP + WebSocket, flat-rate, pay with crypto, no KYC. Live in 30 seconds.

Get your API key