/

Ethereum Classic (ETC)

etc

Ethereum Classic (ETC)

Method: POST priv_uninstallFilter

dropdown
POST

priv_uninstallFilter

Method not allowed

Uninstalls a filter for a private contract with the specified ID. When a filter is no longer required, call this method.

Filters time out when not requested by priv_getFilterChanges or priv_getFilterLogs for 10 minutes.

For private contracts, priv_uninstallFilter is the same as eth_uninstallFilter for public contracts.

Parameters

data - None

32-byte privacy Group ID.

data - None

Filter ID.

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "priv_uninstallFilter",
"params": [null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}