Skip to main content
Standard Ethereum JSON-RPC API

eth_uninstallFilter

Removes a filter. Call this when you no longer need the filter to free resources on the node. Filters also expire automatically after a period of inactivity.

Parameters​

  • filterId: [required] The filter ID to remove.

Returns​

true if the filter was found and removed, false otherwise.

Example​

Request​

curl https://rpc.linea.build \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_uninstallFilter",
"params": ["0x10ff687202f305efab..."],
"id": 1
}'

Response​

{
"jsonrpc": "2.0",
"id": 1,
"result": true
}

Was this page helpful?