Skip to main content

klay_uninstallFilter RPC Method

Uninstalls a filter with the given filter id.

Updated on
Aug 7, 2024

klay_uninstallFilter RPC Method

Parameters

filterID
string
REQUIRED
The filter ID that needs to be uninstalled. It should always be called when watch is no longer needed. Additionally, Filters timeout when they aren't requested with klay_getFilterChanges for a period of time

Returns

result
boolean
It returns true if the filter was successfully uninstalled, otherwise false
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"klay_uninstallFilter","params":["0xd32fd16b6906e67f6e2b65dcf48fc272"],"id":1}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free