eth_uninstallFilter

The eth_uninstallFilter method uninstalls a filter with the given ID, removing it from the node and freeing up server resources. This method should always be called when a filter is no longer needed to be a good citizen and prevent resource waste on the RPC node.

While filters are automatically removed after about 5 minutes of inactivity (no calls to eth_getFilterChanges), explicitly uninstalling them when your application is done is a best practice for responsible resource management. This is especially important for applications that create many filters or have long-running filter operations. Calling this method on an already-removed or non-existent filter ID returns false without error.


Parameters

parameter
type
description
filterId
string (required)
The filter ID to uninstall
Return Object
field
type
description
result
string
Boolean value: true if the filter was successfully uninstalled, false otherwise
Request Example
Request
Response Example
Response

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?