Archive vs Full Node: routing historical state reads
You routed the read to an archive endpoint, or added archive=1, and it failed anyway. A historical state read over RPC fails in three different ways, and the status code alone will not tell you which one you are looking at. The upstream can answer and report the state as pruned. The router can refuse because no archive-routed upstream is configured for that chain. The plan gate can block the request before routing happens at all. Only the first carries a number you can act on. The other two will not change however many times you send the request.
What 'archive available' actually means
The per-chain flag lives in our machine-readable endpoint list. Each chain object carries an archive boolean and an archiveHttps URL when it is true [1]. The file was read on 22 November 2026 and self-reports a generatedAt of 2026-11-22T07:22:29Z, fifteen minutes before the read — a stronger freshness signal than the read date alone.
The flag means at least one upstream with archive routing is configured for the chain. It does not mean every historical block is present. A chain can carry archive: true and still return a pruned error for a height below what its archive upstreams hold. The flag is a routing signal, not a completeness guarantee.
What it selects is a route. With archive=1, a request goes only to archive nodes; without it, a request is spread across every healthy node for the chain, and most of those are pruned. How far back the default route reads state varies by chain, from under a hundred blocks to a million or more [2]. State depth is measured per chain as the furthest back of three checkpoints — 64, 10,000 or 1,000,000 blocks — at which eth_getBalance still answers; the million-block checkpoint counts as archive depth in practice. Last measured 2026-11-15 [3]. Archive routing is included on paid plans [4].
On non-EVM chains the flag is not meaningful in the same way, because those chains speak different RPC dialects entirely [5]. In the file they are evm: false. They are a separate category from pruned chains, and their historical state is not missing.
The two sets are separated by the evm field, not the archive field: every non-EVM entry carries archive: false and a null archiveHttps, the same shape a genuinely unrouted EVM chain has. Filtering on archive: false alone merges them.
EVM chains with no archive routing (archive: false, evm: true)
| Chain | Slug |
|---|---|
| opBNB | opbnb |
| Story | story |
| Dymension | dymension |
| IoTeX | iotex |
| HAQQ | haqq |
| Tron (EVM) | tron-evm |
| Bitlayer | bitlayer |
| Moca Chain | moca |
| Mova | mova |
| OKT Chain | okt-chain |
Non-EVM chains, where the archive flag is not meaningful in the same way (evm: false)
| Chain | Slug |
|---|---|
| Solana | solana |
| Starknet | starknet |
| Sui | sui |
| Polkadot | polkadot |
| Kusama | kusama |
| Cosmos Hub | cosmos |
| Osmosis | osmosis |
| Injective | injective |
| Celestia | celestia |
| dYdX | dydx |
| TRON | tron |
| Aptos | aptos |
| Avail | avail |
| Neutron | neutron |
| Akash | akash |
| Axelar | axelar |
| Babylon | babylon |
| Polkadot Assethub | polkadot-assethub |
| Bitcoin | btc |
| Litecoin | ltc |
| Dogecoin | doge |
| TON (v2) | ton |
| Zcash | zec |
| TON (v3) | tonv3 |
The non-EVM entries are not chains whose history is missing. Those chains run their own RPC dialects, and the archive flag is an EVM routing concept that does not translate to them.
Is there a standard method that reports what history a node holds? The JSON-RPC 2.0 specification defines six error codes and reserves -32000 to -32099 for implementation-defined server errors. It defines no pruned-state code, so the failure shape is implementation-defined [6]. The Ethereum execution-apis specification does define eth_capabilities, which returns per-resource retention — oldestBlock and deleteStrategy — for state, blocks, logs, receipts, tx and stateproofs, explicitly so a router can work out which historical queries a node can answer [7]. It appears in beta.5, beta.6 and beta.7; beta.7 was released on 2026-06-10 [8]. A standard introspection method exists, and whether a given node implements it is implementation-dependent. Our docs describe archive=1 and the 502 and do not mention this method; we have not verified support for it.
The three ways an archive node read fails over RPC
A pruned read comes back as HTTP 200 with a JSON-RPC error in the body. The code is -32000, and the message names the height you asked for as pruned and gives the earliest available height. The upstream answered; the state is genuinely not there. The message text varies — one upstream returns "missing trie node", others name the block or the lowest height they hold [9].
A 502 is a different thing. The API reference states this case directly: a chain with no archive node behind it returns a 502 rather than serving pruned data as though it were current. The router refused because no archive-routed upstream is configured for that chain — a routing fact about the chain, not a fault in your request [2].
A 403 with code -33000 is the plan gate: archive routing needs a paid plan, and the request was blocked before routing happened.
The 200 and 403 bodies are from a live response captured on 2026-11-03; the 502 is documented in the API reference [2].
| What you see | What it means | What to do |
|---|---|---|
| HTTP 200 with a JSON-RPC error, code -32000, naming the requested height as pruned and giving the earliest available height | The upstream answered. The state is genuinely not there. | Read the earliest available height out of the error. Route by height; do not retry. |
| HTTP 502 with a body saying no archive node is available for that chain | The router refused because no archive-routed upstream is configured for that chain. A routing fact, not a fault. | This chain cannot serve the read. Do not retry. |
| HTTP 403 with a JSON-RPC error, code -33000, saying archive routing needs a paid plan | The request was blocked before routing happened. | A plan gate. Nothing about the request will change it. |
A client that branches on whether the call succeeded treats all three as one failure. They need three different responses: one is a boundary to route around, one is a chain that cannot serve you, and one is a plan gate.
The one error that tells you what to do
The -32000 pruned error is the only one of the three that carries an actionable number: the earliest available height. That number is the boundary. Everything at or above it is servable from the same endpoint. Everything below it needs a different route.
Read the height out of the error, compare it against the height you asked for, and route by height. A response that names an earliest available height has not failed in a way you can fix by sending it again. It has told you where the servable range starts.
Retrying a pruned read cannot succeed. The state is not there, and no amount of waiting will produce it. This is where a retry loop becomes permanent: the client sees a failure, waits, resends the identical request, and gets the identical answer. Nothing about the request has changed, and nothing about the node's retention has either.
The -32000 code is not standardised, which is why the message text varies between upstreams and why you should parse the height rather than match the string. The code sits inside the band the specification reserves for implementation-defined server errors, so a client that treats -32000 as one known condition will misread it on the next provider [6].
Routing the read instead of retrying it
Send historical state reads to an archive-routed endpoint and keep recent reads on the full node. The file publishes the exact archive-routed URL for every chain where the flag is true, so you do not have to construct it [1]. Without archive=1, a historical-state call can land on a pruned node and fail with a missing trie node error [2].
The split matters because the two kinds of read fail at different times. A backfill can download block bodies for hours and then stall on its first historical state call, because how far back state is readable differs per chain [3]. That failure appears after thousands of blocks have already been fetched, which is why the route is better decided before the backfill starts than after it breaks. The budgeting side is covered in planning an indexer backfill.
What this does not tell you
The flag is binary, and availability is not. The method-support matrix, last tested 2026-11-01, records a third state — partial — for Arbitrum Nova, Fantom and Filecoin, while the file read on 22 November 2026 reports archive: true for all three [5, 1]. A true/false field cannot express that.
The published surfaces also disagree about which chains have archive routing. Ethereum Classic is archive-unavailable per the matrix but absent from the no-archive list; Tea is available per the matrix but was in the no-archive list of 2026-11-03; Hedera was in that list but is absent from the matrix [5]. These are not category changes — the matrix predates that list and measures a block-1 probe, not routing configuration.
Any printed list is a dated artefact. A list copied forward from 2026-11-03 would be wrong today: Sei, Shibarium, Stable, Tea and Hedera now report archive: true, and opBNB and Mova were not on that list at all [1]. Read the live endpoint list rather than a table in an article, including this one — the same reasoning as the per-chain reference for log queries.
Archive available still does not mean complete: the flag says an archive-routed upstream is configured, not that every historical block is present, so a read can come back pruned on a chain that has archive routing. And these three shapes are the ones a client sees, not a complete taxonomy — a timeout or a connection error is a different problem with a different answer, covered in which JSON-RPC errors are retryable. When you cannot get the state at all, gap detection after a drop is the next problem.
Take the earliest available height out of one real pruned response and compare it against the oldest height your backfill needs. If the gap is large, the route is wrong, not the retry.
Sources
- endpoints.json — per-chain endpoint list with archive flag — SwiftNodes, 2026-11-22
- API Reference — Archive nodes (archive=1) — SwiftNodes, 2026-01-01
- EVM Chain Block Times and RPC Limits, Measured — State depth — SwiftNodes, 2026-11-15
- Archive access — routing capability — SwiftNodes, 2026-11-01
- RPC Method Support Matrix — Archive column — SwiftNodes, 2026-11-01
- JSON-RPC 2.0 Specification — Error Object — jsonrpc.org (JSON-RPC Working Group), 2010-01-01
- eth_capabilities — Ethereum JSON-RPC Specification 1.0.0-beta.7 — ethereum.github.io (Ethereum execution-apis), 2026-01-01
- Release Notes v1.0.0-beta.7 — ethereum.github.io (Ethereum execution-apis), 2026-06-10
- RPC Error Messages — missing trie node — SwiftNodes, 2026-09-24
This article was researched, written and edited by AI under human supervision, and checked against Rankwrite's public editorial rubric.
John Sullivan covers RPC infrastructure, node operations, and multi-chain development at SwiftNodes — what it actually takes to keep endpoints fast, fresh, and reliable across EVM and non-EVM networks.
Related posts
- Reading Historical State with eth_call
eth_call defaults to the latest block, but you can point it at any past block to read state as it was then — a balance last Tuesday, an oracle price at a specific block. The catch: historical state reads need an archive node. Here's how to do it in viem, ethers, and web3.py, and why a full node returns 'missing trie node'.
- eth_getLogs Limits Across Chains, Measured
Twenty chains measured on 2026-10-11: the widest eth_getLogs block span that succeeded on each, and why every figure is a floor rather than a cap.
- Which Chains Cap Your Log Queries: a per-chain reference
There is no single eth_getLogs limit per chain. Two caps, block span and result count, and five different error shapes decide whether a query succeeds.