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.


Reference: Here

Parameters

  1. QUANTITY - The filter id.

params: [
  "0xb", // 11
]

Returns

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

// Result
{
  "id":1,
  "jsonrpc": "2.0",
  "result": true
}
curl https://mainnet.polygon.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xb"],"id":73}'

Last updated