Skip to main content

eth_uninstallFilter RPC Method

It uninstalls a filter with the given filter id.

Updated on
Apr 15, 2024

eth_uninstallFilter RPC Method

Parameters

filter ID
string
REQUIRED
The filter ID that needs to be uninstalled. It should always be called when watch is no longer needed. Additionally, Filters timeout when they aren't requested with eth_getFilterChanges for a period of time

Returns

result
It returns true if the filter was successfully uninstalled, otherwise false
Request
1
curl https://docs-demo.sei-pacific.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":[2],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free