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