Public RPC eth_getLogs Limits

Avalanche C-Chain public RPC eth_getLogs limits

6 keyless Avalanche C-Chain RPC endpoints tested on 2026-11-13. Largest range that worked: 50,000 blocks on avalanche-c-chain-rpc.publicnode.com.

EndpointLargest eth_getLogs range that workedLatency (median of 3)Previous (2026-10-23)Archive (block 1 balance)Error at next size
avalanche-c-chain-rpc.publicnode.com50,000 blocks179 ms50,000yesexceed maximum block range: 50000
avalanche-rpc.blockreq.com/v1/rpc/public1,000 blocks141 ms1,000nopublic endpoint only serves recent blocks (last 1024). Register at blockreq.com for historical / archive access.
api.avax.network/ext/bc/C/rpc100 blocks164 ms100noblock range too large: total block range in this request exceeds the maximum of 100 blocks
avalanche.drpc.org100 blocks131 ms100yesranges over 10000 blocks are not supported on free plan
1rpc.io/avax/cgetLogs refused214 ms10yesRate limit exceeded on Nodies public endpoints. For higher limits, create a free account at https://nodies.app and use a private endpoint. E
xrpc.cl/avalanchedown / error-down-XRPC Cluster: Backend avalanche 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