根据给定的 ID 卸载过滤器。当不再需要该过滤器时,应始终调用此方法。若过滤器在一定时间内未通过 eth_getFilterChanges 查询,将自动超时。
根据给定的 ID 卸载过滤器。当不再需要该过滤器时,应始终调用此方法。若过滤器在一定时间内未通过 eth_getFilterChanges 查询,将自动超时。
参数
QUANTITY- 过滤器 ID。
示例
请求
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_uninstallFilter",
"params": [
"0xc11a84d5e906ecb9f5c1eb65ee940b154ad37dce8f5ac29c80764508b901d996"
],
"id": 71
}'响应
{
"jsonrpc": "2.0",
"id": 71,
"result": true
}