klay_uninstallFilter
Uninstalls a filter with given id. Should always be called when watch is no longer needed.
The execution of this API can be limited by two node configurations to manage resources of Klaytn node safely.
Name | Type | Description |
---|---|---|
filter | QUANTITY | A filter id. |
Type | Description |
---|---|
Boolean | true if the filter was successfully uninstalled, otherwise false . |
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_uninstallFilter","params":["0xb"],"id":73}' http://klaytn.blockpi.network/v1/rpc/your-api-key
// Result
{
"jsonrpc": "2.0",
"id":1,
"result": true
}
Last modified 11mo ago