eth_uninstallFilter-polygon

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://polygon-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
    "jsonrpc":"2.0",
    "id":1,
    "method":"eth_uninstallFilter",
    "params":["0x03000000000000003491e8e118a6f9fc"]
}'

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!