Public RPC eth_getLogs Limits

Ethereum Sepolia public RPC eth_getLogs limits

10 keyless Ethereum Sepolia RPC endpoints tested on 2026-11-13. Largest range that worked: 100,000 blocks on sepolia.gateway.tenderly.co.

EndpointLargest eth_getLogs range that workedLatency (median of 3)Previous (2026-10-23)Archive (block 1 balance)Error at next size
sepolia.gateway.tenderly.co100,000+ blocks238 ms100,000+yes
rpc.sepolia.ethpandaops.io10,000 blocks298 ms10,000yesgetLogs request exceeded max allowed range
ethereum-sepolia-rpc.publicnode.com10,000 blocks187 ms10,000nopruned history unavailable
1rpc.io/sepolia10 blocks176 ms10yeseth_getLogs is limited to 0 - 50 blocks range
ethereum-sepolia-rpc.blockreq.com/v1/rpc/publicgetLogs refused160 ms1,000noblock not available: block not found for eth_getLogs, requested toBlock 12126777 is not yet available on the node (latestBlock: 12126776, fi
api.blockvectra.com/v1/eth_sepolia/publicgetLogs refused306 msrefusednomethod is not available on the public endpoint
rpc.sepolia.orgdown / error-down-HTTP 404
rpc2.sepolia.orgdown / error-down-HTTPSConnectionPool(host='rpc2.sepolia.org', port=443): Read timed out. (read timeout=20)
sepolia.drpc.orgdown / error-100-chain is not available on free plan, please upgrade to paid plan
xrpc.cl/sepoliadown / error-down-XRPC Cluster: Backend sepolia node currently syncing and fallbacks busy

Chunk your queries

// Chunked eth_getLogs that adapts to the provider's limit (viem)
async function getLogsChunked(client, filter, from, to, step = 2000n) {
  const out = [];
  for (let start = from; start <= to; ) {
    const end = start + step - 1n > to ? to : start + step - 1n;
    try {
      out.push(...await client.getLogs({ ...filter, fromBlock: start, toBlock: end }));
      start = end + 1n;
    } catch (e) {
      if (step === 1n) throw e;
      step = step / 2n; // range or result-size limit: halve and retry
    }
  }
  return out;
}

All chains · Error messages explained