eth_getLogs on zkSync Era
Measured 2026-10-04 by our weekly probe, which calls eth_getLogs through the same zkSync Era endpoint customers use.
What eth_getLogs does
Returns the event logs that match a filter: a block range, optional contract addresses and up to four topics. It is how indexers, dashboards and wallets read transfers, swaps and other contract events.
eth_getLogs on zkSync Era: what we measured
- Measured block-range cap: 50,000 blocks per call, about 5.9 days of zkSync Era at 10.3 s blocks. Wider ranges are rejected; page through history in windows below the cap and filter by address where you can.
- The finalized tag trails the head by about 1,230 blocks (3.5 hours). Results newer than that can still change in a reorg; query up to "finalized" if you need settled data.
Example request
curl -s https://rpc.swiftnodes.io/rpc/zksync?key=YOUR_API_KEY \
-X POST -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"fromBlock":"latest","toBlock":"latest"}]}'import { createPublicClient, http } from "viem";
const client = createPublicClient({ transport: http("https://rpc.swiftnodes.io/rpc/zksync?key=YOUR_API_KEY") });
// Any JSON-RPC method, typed loosely: eth_getLogs on zkSync Era
const result = await client.request({
method: "eth_getLogs",
params: [{"fromBlock":"latest","toBlock":"latest"}],
});Other methods on zkSync Era
- eth_getBlockReceiptsSupported
- eth_feeHistorySupported
- eth_getProofNot available
- eth_createAccessListNot available
- debug_traceCallSupported
- trace_blockNot available
- trace_transactionNot available
eth_getLogs on other chains
Support differs by chain; the full measured table is on the eth_getLogs reference.
- Ethereum
- Base
- Arbitrum
- Optimism
- Polygon
- BNB Smart Chain
- Avalanche
- Sonic
- Linea
- Scroll
- Blast
- Mantle
- Gnosis
- Celo
- Berachain
- Monad
- Unichain
- Kaia
- PulseChain
Frequently asked questions
Does zkSync Era support eth_getLogs?
Yes. eth_getLogs answered correctly on the SwiftNodes zkSync Era endpoint in our weekly method probe (2026-10-04), which sends real requests through the customer path.
Are there limits on eth_getLogs on zkSync Era?
Measured block-range cap: 50,000 blocks per call, about 5.9 days of zkSync Era at 10.3 s blocks. Wider ranges are rejected; page through history in windows below the cap and filter by address where you can.
zkSync Era endpoints, live block height and WebSocket status are on the zkSync Era RPC page.
One key covers every chain we serve, and SwiftNodes has a free tier.