BlockReq
Back to Home

Polygon Archive Node RPCFull history archive with eth_getProof, stateOverride & debug/trace

Polygon PoS archive node RPC with eth_getProof, stateOverride, debug/trace API. Query any historical block. Free 80M RU/month.

Polygon MainnetAmoy Testnet

Why Polygon Archive on BlockReq

  • Full Polygon archive from genesis with complete state
  • eth_getProof on any historical block
  • eth_call with stateOverride for Aave/QuickSwap simulation
  • debug_traceTransaction for L2 transaction analysis
  • High-throughput support for Polygon's fast block times
  • No 'missing trie node' or pruned state errors

Supported Archive RPC Methods

All methods work on any historical block — from genesis to latest.

eth_getBalance
eth_getCode
eth_getStorageAt
eth_getProof
eth_call (stateOverride)
debug_traceTransaction
debug_traceCall
eth_getLogs

eth_call with stateOverride on Polygon

bash
curl -X POST https://polygon.blockreq.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
      "data": "0x70a08231000000000000000000000000YOUR_ADDRESS"
    }, "latest", {
      "0xYOUR_ADDRESS": { "balance": "0xDE0B6B3A7640000" }
    }],
    "id": 1
  }'

Frequently Asked Questions

Does BlockReq support Polygon archive nodes with full history?

Yes. BlockReq maintains full Polygon archive nodes from genesis, supporting all historical state queries including eth_getProof, eth_getBalance, and eth_call on any past block.

Can I use debug_traceTransaction on Polygon?

Yes. debug_traceTransaction and debug_traceCall are fully supported on Polygon archive nodes, allowing you to trace transaction execution and analyze gas usage in detail.

How do I fix 'missing trie node' errors on Polygon PoS?

Polygon full nodes prune state aggressively due to fast block times (~2s). The 'missing trie node' error occurs when querying blocks older than the pruning window. BlockReq Polygon archive nodes retain complete state since genesis — no pruning, no errors.

Can I fork Polygon mainnet with Hardhat using BlockReq?

Yes. BlockReq Polygon archive nodes are ideal for Hardhat forking. Fork from any block to simulate Aave, QuickSwap, or other Polygon DeFi protocols without 'missing trie node' errors.

Start using Polygon archive nodes today

Free 80M RU/month. No credit card required. Archive nodes with eth_getProof, stateOverride, and debug/trace on every plan.