Skip to main content

eth_uninstallFilter RPC Method

It uninstalls a filter with the given filter id.

Updated on
Dec 4, 2024

eth_uninstallFilter RPC Method

To use the eth_uninstallFilter method on the C-Chain, ensure that the end of your URL includes ext/bc/C/ws.

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
boolean
It returns true if the filter was successfully uninstalled, otherwise false
Request
1
curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \
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