Method reference

eth_getLogs

Returns the event logs that match a filter: a block range (fromBlock/toBlock or a single blockHash), optional contract addresses, and up to four topic positions. It is how indexers, dashboards and wallets read token transfers, swaps and any other contract event without replaying transactions.

The method is part of the core JSON-RPC spec, so the question is rarely whether a chain serves it but how much it serves per call. Every node caps the block span or the result size, and the caps differ widely: we have measured 200 blocks on Ronin, 10,000 on Kava and 50,000 on opBNB. Page through long histories in windows below the chain's cap, filter by address wherever you can, and use archive=1 on paid plans when the range reaches far into the past.

Example request

curl -s https://rpc.swiftnodes.io/rpc/eth?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"}]}'

Replace YOUR_API_KEY with your SwiftNodes key (free tier available).

Chain support — 104/107 chains

Auto-probed 2026-10-11 through the real customer path (auth, routing, failover). ✓ served · ± served by some upstreams of that chain · ✗ unavailable. Full matrix: method support.

ChainChain IDSupport
Ethereum1✓
BNB Smart Chain56✓
Base8453✓
Arbitrum One42161✓
Polygon137✓
Optimism10✓
Avalanche C-Chain43114✓
Sonic146✓
Sei1329✓
Cronos25✓
PulseChain369✓
opBNB204✓
Mantle5000✓
Celo42220✓
Linea59144✓
Scroll534352✓
Blast81457✓
Gnosis100✓
Berachain80094✓
Unichain130✓
Metis1088✓
Taiko167000✓
Fraxtal252✓
Kava2222✓
Chiliz88888✓
Soneium1868✓
Story1514✓
Dymension1100✓
Ethereum Classic61✓
Monad143✓
Plasma9745✓
Katana747474✓
zkSync Era324✓
Kaia8217✓
Core1116✓
Flare14✓
Mode34443✓
Manta Pacific169✓
Immutable zkEVM13371✓
ZetaChain7000✓
Shibarium109✓
Aurora1313161554✓
Rootstock30✗
Zora7777777✓
Beam4337✓
IoTeX4689✓
Boba Network288✓
WEMIX1111✓
Astar592✓
Telos EVM40✓
Fuse122✓
Robinhood Chain4663✓
0G16661✓
Arbitrum Nova42170✓
Arc5042✓
HAQQ11235✓
Hyperliquid999✓
Ink57073✓
peaq3338✓
Somnia5031✓
Syscoin57✓
Tempo4217✓
Tron (EVM)728126428✓
Abstract2741✓
ADI Network36900✓
Bitlayer200901✓
BitTorrent Chain199✓
BOB60808✓
B2 Network223✓
Creditcoin102030✓
Cronos zkEVM388✓
Doma97477✓
Edge3343✓
Etherlink42793–
Fantom250✓
Filecoin314✓
Gravity Alpha1625✓
Gravity127001✓
HashKey Chain177✓
Hemi43111✓
Jovay5734951✓
Kite2366✓
Lens Chain232✓
Lisk1135✓
MegaETH4326✓
Merlin Chain4200✓
Metal L21750✓
Mezo31612✓
Moca Chain2288✓
Morph2818✓
Mova61901✓
Neo X47763✓
OKT Chain66✓
Playnance1829✓
Stable988✓
Superseed5330–
TAC239✓
Tea6122✓
Viction88✓
World Chain480✓
X Layer196✓
XRPL EVM1440000✓
ABCore36888✓
ApeChain33139✓
Orderly291✓
Pharos1672✓
Ronin2020✓
Need eth_getLogs on a chain that shows ✗? Upstream mixes change and we re-probe weekly — tell us what you need, or start on the free tier and test your own workload.