eth_uninstallFilter
Removes a filter. Nodes also remove filters that have not been polled for a while.
Ethereum specification · All supported methods
Parameters
Parameters are positional, in the order below.
| Parameter | Type | Required | Description |
|---|---|---|---|
Filter ID | Hexadecimal quantity | Yes | The ID of the filter to remove. |
Return value
true if the filter was found and removed, otherwise false.
Example
Replace <gateway-url> with your gateway base URL and <service-url> with the chain’s service path, such as service/ethereum.
sh
curl -X POST "<gateway-url>/<service-url>" \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_uninstallFilter","params":["0x1"]}'Illustrative response; values depend on the selected network and request:
json
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}