Ethereum
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Ethereum
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
When you create a polling filter on Ethereum, the node holds state for it on your behalf. eth_uninstallFilter tears that state down. Pass the hex filter ID you got from eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter, send it to https://ethereum.therpc.io/YOUR_API_KEY on mainnet (chain ID 1), and the node drops the filter and stops buffering matches for it. It works for every filter type, since they all share the same ID space. The return is a simple boolean: true when the filter existed and was removed, false when there was nothing there to remove. Cleaning up promptly matters because each open filter consumes memory on the node serving your ETH workload.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 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 Ethereum playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32602 | invalid argument | The filter ID is not a valid hex string. |
false back is not a failure. It usually just means the filter already expired before you reached it, so treat it as "nothing to do" rather than an error to retry.المعاملات
The hex filter ID to remove.