It uninstalls a filter with the given filter id.
Supported on Polygon zkEVM (mainnet) only.
Parameters
filter ID
- string - The filter ID that needs to be uninstalled. It 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
Returns
result
- It returns true if the filter was successfully uninstalled, otherwise false
API Endpoint
The format of a polygon-zkevm-rpc API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/polygon-zkevm-rpc/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/polygon-zkevm-rpc/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/polygon-zkevm-rpc/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0x10ff0bfba9472c87932c56632eef8f5cc70910e8e71d"],"id":1}'
Result