Docs
Supported ChainsFlow EVM GatewayJSON-RPC APISmart Contract Methods

eth_uninstallFilter - Flow EVM RPC Method

Remove a filter on Flow EVM Gateway. Essential for cleanup after event monitoring.

Uninstalls a filter on Flow EVM Gateway. Should be called when no longer needed.

Request Parameters

Request
filterIdQUANTITY

Filter ID to uninstall

Response Body

Response
resultBoolean

true if filter was found and uninstalled

Code Examples

Bash
curl -X POST https://api-flow-evm-gateway-mainnet.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_uninstallFilter",
    "params": ["0x1"],
    "id": 1
  }'
JavaScript
import { JsonRpcProvider } from 'ethers';

const provider = new JsonRpcProvider('https://api-flow-evm-gateway-mainnet.n.dwellir.com/YOUR_API_KEY');

const success = await provider.send('eth_uninstallFilter', [filterId]);
console.log('Filter removed:', success);

On this page