이 페이지는 영어로 된 기계 번역을 사용하므로 오류나 불명확한 언어가 포함될 수 있습니다. 가장 정확한 정보는 영어 원문을 참조하시기 바랍니다. 잦은 업데이트로 인해 일부 콘텐츠는 원래 영어로 되어 있을 수 있습니다. Crowdin에서 이 페이지의 번역을 개선하는 데 동참하여 도움을 주세요. (Crowdin translation page, Contributing guide)
[Filter] kaia_uninstallFilter
Uninstalls a filter with given id. Should always be called when watch is no longer needed. Additionally, filters timeout when they are not requested with kaia_getFilterChanges for a period of time.
JSONRPC: kaia_uninstallFilter
Request
- application/json
Body
params Filter (string)[]
The filter id
Responses
- 200
Return true if the filter was successfully uninstalled, otherwise false.
- application/json
- Schema
- Example (from schema)
Schema
error
object
result boolean
true if the filter was successfully uninstalled, otherwise false.
{
"jsonrpc": "2.0",
"id": 0,
"error": {
"code": -32700,
"message": "Parse error",
"data": "string"
},
"result": true
}
- curl
- python
- nodejs
- java
- Curl
curl -X 'POST' \
'https://public-en-kairos.node.kaia.io/kaia/uninstallerFilter' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"method": "kaia_uninstallFilter",
"id": 1,
"jsonrpc": "2.0",
"params": ["0xd32fd16b6906e67f6e2b65dcf48fc272"]
}'
- CURL
ResponseClear