uninstallFilter
Destroys a Filter
that was created from one of the following Actions:
Usage
example.ts
import { publicClient } from "./client";
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
- Type:
Filter
A created filter.
const filter = await publicClient.createPendingTransactionFilter();
const uninstalled = await publicClient.uninstallFilter({
filter,
});