BlockPI Network
Search
⌃K

eth_uninstallFilter

Uninstalls a filter with a given id. Should always be called when a watch is no longer needed. Additionally, filters timeout when they aren’t requested with eth_getFilterChanges for some time.

Parameters:

QUANTITY - the filter id.

Returns:

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

Example:

// Request
curl https://avalanche.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xdb377fd425e1f024bc823ffb22781c13"],"id":1}'
​
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}