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.
QUANTITY - the filter id.
Boolean - true if the filter was successfully uninstalled, otherwise false.
// Request
curl https://zetachain-athens-evm.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xc582a9b5a55cfbbdf281e291d889b564"],"id":1}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Last modified 3mo ago