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.
| Endpoint | Largest eth_getLogs range that worked | Latency (median of 3) | Previous (2026-10-23) | Archive (block 1 balance) | Error at next size |
|---|---|---|---|---|---|
| avalanche-c-chain-rpc.publicnode.com | 50,000 blocks | 179 ms | 50,000 | yes | exceed maximum block range: 50000 |
| avalanche-rpc.blockreq.com/v1/rpc/public | 1,000 blocks | 141 ms | 1,000 | no | public endpoint only serves recent blocks (last 1024). Register at blockreq.com for historical / archive access. |
| api.avax.network/ext/bc/C/rpc | 100 blocks | 164 ms | 100 | no | block range too large: total block range in this request exceeds the maximum of 100 blocks |
| avalanche.drpc.org | 100 blocks | 131 ms | 100 | yes | ranges over 10000 blocks are not supported on free plan |
| 1rpc.io/avax/c | getLogs refused | 214 ms | 10 | yes | Rate 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/avalanche | down / 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;
}