Base
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Base
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
eth_getFilterLogs returns the full set of logs that match a log filter you created with eth_newFilter, ignoring how many times you have already polled it — you get the complete match set, not just the delta. This makes it the natural companion to eth_getFilterChanges: use this once for the baseline, then switch to incremental polling. Base is Coinbase's OP Stack rollup that settles to Ethereum L1 and pays gas in ETH, and its high event volume from apps like Aerodrome and Uniswap means a wide filter can return a lot at once. Call it at https://base.therpc.io/YOUR_API_KEY (chain ID 8453, hex 0x2105) with the filter ID.
eth_getFilterChanges for the live tail.eth_getFilterLogs to recover the full window before resuming incremental polls, so no Base events fall through the gap.| # | Nom | Type | Obligatoire | Description |
|---|---|---|---|---|
| 1 | filterId | string | Oui | The log filter ID. Only log filters (eth_newFilter) are valid — block and pending-tx filters are not supported. |
| Type | Description |
|---|---|
| array | Array of all log objects matching the filter's criteria. |
Try it live in the Base playground.
| Code | Message | Cause |
|---|---|---|
-32000 | filter not found | Filter ID is invalid, expired, or the filter was already uninstalled. |
-32005 | query returned more than 10000 results | The filter matches too many logs; narrow the block range or add topic filters. |
eth_getFilterChanges, this returns every matching log each time, not just new ones — on a broad Base filter that can be heavy and may trip the 10,000-result cap, so scope the filter tightly.eth_newFilter only; passing a block filter or pending-transaction filter ID returns filter not found.eth_getFilterLogs promptly after creating it rather than letting it sit idle.Paramètres
Hex filter ID from eth_newFilter