Arbitrum One
Arbitrum One
Arbitrum One
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
eth_getFilterLogs returns the full set of logs matching a log filter you already created on Arbitrum One, ignoring whatever you have polled before. Arbitrum One (chain ID 42161) is an Optimistic Rollup that pays gas in ETH and settles batches to Ethereum L1; its high event throughput from protocols like GMX and Uniswap makes one-shot snapshots handy. Send the request to https://arbitrum.therpc.io/YOUR_API_KEY with a log filter ID and it returns all logs matching the filter's criteria, regardless of prior poll state.
eth_getFilterChanges polling.eth_getFilterLogs once before resuming the eth_getFilterChanges loop.| # | 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 Arbitrum One 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 ALL matching logs every time, not just new ones — on a wide Arbitrum One filter that can be heavy and may trip the 10,000-result cap.eth_newFilter; a block-filter or pending-tx-filter ID returns a filter not found error.eth_getFilterLogs promptly after creating the filter.Paramètres
Hex filter ID from eth_newFilter