Polygon
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Polygon
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | filterId | string | نعم | The hex filter ID to remove. |
| النوع | الوصف |
|---|---|
| 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.
| الكود | الرسالة | السبب |
|---|---|---|
-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.المعاملات
The hex filter ID to remove.