Skip to main content

eth_uninstallFilter RPC Method

It uninstalls a filter with the given filter id.

Updated on
Oct 10, 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.unichain-sepolia.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"],"id":1}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free