Arbitrum One
Arbitrum One
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | filterId | string | نعم | The log filter ID. Only log filters (eth_newFilter) are valid — block and pending-tx filters are not supported. |
| النوع | الوصف |
|---|---|
| array | Array of all log objects matching the filter's criteria. |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-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.المعاملات
Hex filter ID from eth_newFilter