eth_uninstallFilter 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_getFilterChanges for a period of time.
This method will use 10
Compute Units .
Parameters
QUANTITY
- The filter id.
Copy params: [
"0xb" , // 11
]
Returns
Boolean
- true
if the filter was successfully uninstalled, otherwise false
.
Copy // Result
{
"id" :1,
"jsonrpc" : "2.0" ,
"result" : true
}
mainnet
Copy curl https://mainnet.ethereum.validationcloud.io/v1/ < YOUR_API_KEY_HER E > \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xb"],"id":73}'
testnet
Copy curl https://sepolia.ethereum.validationcloud.io/v1/ < YOUR_API_KEY_HER E > \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xb"],"id":73}'