API Reference

eth_uninstallFilter - Merlin

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: ["0xfa597155a55d7d1ed0242c8f3d686638"];

Returns

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

Example

Request

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

Result

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": true
}
Language