Arbitrum One
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Arbitrum One
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
eth_getFilterChanges pulls everything that has matched a previously installed filter on Arbitrum One since your last poll. Arbitrum One (chain ID 42161) is an Optimistic Rollup whose sequencer produces sub-second soft confirmations and settles to Ethereum L1 with gas paid in ETH, so a tight poll loop sees new events quickly. Call it against https://arbitrum.therpc.io/YOUR_API_KEY with a filter ID and it returns, depending on the filter type, an array of log objects, block hash strings, or pending transaction hash strings — and an empty array when nothing new has arrived.
Transfers on Arbitrum One — without resending the filter criteria each time.eth_newBlockFilter once, then poll eth_getFilterChanges repeatedly to react to each new sequencer block.| # | Nom | Type | Obligatoire | Description |
|---|---|---|---|---|
| 1 | filterId | string | Oui | The filter ID to poll. |
| Type | Description |
|---|---|
| array | For log filters: array of log objects. For block filters: array of block hash strings. For pending-tx filters: array of transaction hash strings. Empty array if no new events. |
Try it live in the Arbitrum One playground.
| Code | Message | Cause |
|---|---|---|
-32000 | filter not found | Filter ID is invalid, expired (>5 min inactivity), or was already uninstalled. |
filter not found error and recreate the filter rather than assuming it lives forever.removed field — Arbitrum's soft-confirmed blocks can be reorganised before they settle to L1, and removed: true marks a log that was rolled back.Paramètres
Hex filter ID from eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter