Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
eth_uninstallFilter removes a server-side filter — previously created with eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter — by its ID, freeing the resources the Arbitrum One node held to track it. It works for all filter types. Each open filter keeps state on the node so it can answer eth_getFilterChanges; calling this method tells the node behind https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161, the Optimistic Rollup that prices gas in ETH) that you are done polling. On a high-throughput L2 like Arbitrum One, where the sequencer emits blocks sub-second and contracts such as GMX and Uniswap generate dense log traffic, releasing filters you no longer need keeps your usage lean and avoids accumulating stale handles.
Transfer events from an Arbitrum One token contract — to release the node resources backing it.| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | filterId | string | Sim | The hex filter ID to remove. |
| Tipo | Descrição |
|---|---|
| boolean | `true` if the filter was found and removed. `false` if it did not exist (already expired or never created). |
Try it live in the Arbitrum One playground.
| Código | Mensagem | Causa |
|---|---|---|
-32602 | invalid argument | The filter ID is not a valid hex string. |
false return is not an error: it just means the node had no filter with that ID, typically because the filter already expired naturally or was never created. Do not treat false as a failure to abort on.eth_getFilterChanges polls can invalidate the ID on its own. Explicit cleanup is still the better practice — do not rely on expiry to manage your filters on Arbitrum One.Parâmetros
The hex filter ID to remove.