eth_uninstallFilter(Alpha) - Scroll

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_getFilterChangesfor a period of time.

Parameters

QUANTITY - The filter id.

params: ["0xfe704947a3cd3ca12541458a4321c869"];

Returns

Boolean - True if the filter was successfully uninstalled, otherwise false.

Example

Request

curl --location --request POST 'https://scroll-prealpha.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_uninstallFilter",
    "params": [
        "0x846c04df402c4c5cfbb639daaa5a331c"
    ],
    "id": 0
}'

Result

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": true
}
Language
Click Try It! to start a request and see the response here!