> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](/nodeapi/polygon/execution-api/eth_getfilterchanges) for a period of time.

This method will use `20` [Compute Units](/nodeapi/about/billing).

***

## **Reference:** [**Here**](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_uninstallfilter)

## **Parameters**

1. `QUANTITY` - The filter id.

```javascript theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
params: [
  "0xb", // 11
]
```

## Returns

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

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "id":1,
  "jsonrpc": "2.0",
  "result": true
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  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}'
  ```

  ```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://amoy.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}'
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.