Base
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Base
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
eth_uninstallFilter removes a server-side filter from a Base node by its ID, freeing the resources that filter was holding. It works for every filter type the node tracks — log filters from eth_newFilter, block filters from eth_newBlockFilter, and pending-transaction filters from eth_newPendingTransactionFilter. Base is Coinbase's OP Stack optimistic rollup built on Ethereum with gas paid in ETH, and because its sequencer ships a block roughly every two seconds, active filters accumulate matches quickly; tearing one down once you no longer poll it keeps the node from buffering changes you will never read. Send the call to https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105).
| # | Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|---|
| 1 | filterId | string | Sí | The hex filter ID to remove. |
| Tipo | Descripción |
|---|---|
| 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 Base playground.
| Código | Mensaje | Causa |
|---|---|---|
-32602 | invalid argument | The filter ID is not a valid hex string. |
false return is not an error — it usually means the filter was already gone, having expired naturally before you called uninstall. Treat it as "nothing to remove," not a failure.eth_uninstallFilter explicitly when you are done is the cleaner practice and avoids relying on that timeout.Parámetros
The hex filter ID to remove.