Archive Node RPC

Berachain Archive Node RPC

Query the full history of Berachain — 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/berachain?key=YOUR_API_KEY

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

Query historical Berachain state

// Read historical state at a past block on Berachain (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/berachain?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

Berachain is a Layer 1 (EVM-identical, Proof-of-Liquidity), with ~~2 seconds block times and single-slot deterministic finality (cometbft) finality. Historical queries reach back across its entire chain history.

Frequently asked questions

Does SwiftNodes offer Berachain archive node access?

Yes. Archive access for Berachain — 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 Berachain.

Is Berachain 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 Berachain RPC page for chain details, or the API reference for the complete method list.

Get a Berachain endpoint free

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

Get your API key