logsUnsubscribe RPC 方法

取消订阅交易日志

{
"jsonrpc": "2.0",
"id": 1,
"method": "logsUnsubscribe",
"params": [
0
]
}

params

integerrequired

要取消的订阅 ID

result

Response
{
"jsonrpc": "2.0",
"result": true,
"id": 1
}
boolean

取消订阅成功消息

Is this page helpful?