zkSync Era Archive Node RPC
Query the full history of zkSync Era — 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/zksync?key=YOUR_API_KEYArchive queries use the same zkSync Era HTTP endpoint — just pass a historical block tag. The matching WebSocket endpoint is wss://rpc.swiftnodes.io/ws/zksync?key=YOUR_API_KEY.
Query historical zkSync Era state
// Read historical state at a past block on zkSync Era (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/zksync?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
zkSync Era is an zk-Rollup (zkEVM with native account abstraction), with ~~1 second block times and soft: ~1s. hard (l1): ~3-24 hours (zk proof submission) finality. Historical queries reach back across its entire chain history.
Frequently asked questions
Does SwiftNodes offer zkSync Era archive node access?
Yes. Archive access for zkSync Era — 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 zkSync Era.
Is zkSync Era 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 zkSync Era RPC page for chain details, or the API reference for the complete method list.
Get a zkSync Era endpoint free
HTTP + WebSocket, flat-rate, pay with crypto, no KYC. Live in 30 seconds.
Get your API key