Polygon
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Polygon
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
eth_uninstallFilter removes a server-side filter you previously created on a Polygon PoS node — whether a log filter, a block filter, or a pending-transaction filter — and frees the resources the node was holding to track it. Each filter consumes memory and is polled with eth_getFilterChanges; calling this method when you are done is the clean way to release that state. On a busy MATIC-fee network where many integrations watch contract logs, releasing idle filters keeps your node footprint small. Send the request to the Polygon mainnet endpoint at https://polygon.therpc.io/YOUR_API_KEY (chain ID 137, 0x89).
0xc2132D05D31c914a87C6611C10748AEb04B58e8F — to release node resources.| # | 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 Polygon playground.
| Código | Mensaje | Causa |
|---|---|---|
-32602 | invalid argument | The filter ID is not a valid hex string. |
false return is not an error — it just means the filter ID was not found, usually because it had already expired naturally. Treat it as a no-op rather than a failure.eth_getFilterChanges polling), but relying on that timeout is fragile; calling eth_uninstallFilter explicitly when you are done is the better practice.Parámetros
The hex filter ID to remove.