curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_uninstallFilter",
"params": [
"0x1fb7f4c4e3e6af9d892f657ccaa77a7c"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": true
}
curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_uninstallFilter",
"params": [
"0x1fb7f4c4e3e6af9d892f657ccaa77a7c"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": true
}
eth_uninstallFilter
in this page, first create a new filter using one of the following:Then use the fresh filter ID as the parameter for eth_uninstallFilter
.filter_id
— a single filter identifier as a hexadecimal string. This is the ID of the filter that was returned by eth_newFilter
or eth_newBlockFilter
and is now being uninstalled.result
— a boolean value indicating the success of the uninstallation. true
if the filter was successfully uninstalled, otherwise false
. This allows clients to verify that resources have been freed up appropriately.eth_uninstallFilter
method is used to manage the lifecycle of filters in decentralized applications. It is particularly useful in scenarios where an application dynamically creates filters to track specific events or logs and needs to clean them up after they are no longer necessary, helping to prevent resource leaks and maintain optimal performance.Success status of filter removal
The response is of type object
.
Was this page helpful?