Docs
Supported ChainszkSync EraJSON-RPC APISmart Contract Methods

eth_uninstallFilter - zkSync RPC Method

Remove a filter on zkSync Era. Essential for cleanup after event monitoring.

Uninstalls a filter on zkSync Era. 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-zksync-era-mainnet-full.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-zksync-era-mainnet-full.n.dwellir.com/YOUR_API_KEY');

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

On this page