Skip to content
On this page

uninstallFilter

Destroys a Filter that was created from one of the following Actions:

Usage

ts
import { publicClient } from '.'

const filter = await publicClient.createPendingTransactionFilter()
const uninstalled = await publicClient.uninstallFilter({ filter }) 
// true

Returns

boolean

A boolean indicating if the Filter was successfully uninstalled.

Parameters

filter

A created filter.

ts
const filter = await publicClient.createPendingTransactionFilter()
const uninstalled = await publicClient.uninstallFilter({
  filter, 
})

Released under the MIT License.