Skip to main content
Plasma API method that uninstalls a filter with the given ID.

Parameters

  • quantity — the filter ID

Response

  • booleantrue if the filter was successfully uninstalled, false otherwise

eth_uninstallFilter code examples

const { JsonRpcProvider } = require("ethers");

const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

async function call() {
  const result = await provider.send("eth_uninstallFilter", []);
  console.log(result);
}

call();