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://merlin.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x2b8add93b1594de1ba786c25a4a3f709"],"id":1}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": ture
}
Last updated
Was this helpful?