eth_uninstallFilter

Uninstalls a filter with given id. 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.

Parameters

  • QUANTITY - The filter id.
curl https://ethereum-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"eth_uninstallFilter",
    "params":["0x804a4c32415d6c82823180bf534eddd3"]
}'

Returns

  • Boolean - true if the filter was successfully uninstalled, otherwise false.
{"jsonrpc":"2.0","id":1,"result":true}

Try Yourself

Language
Click Try It! to start a request and see the response here!