slotUnsubscribe RPC 方法

取消订阅 slot 通知

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

params

integerrequired

要取消的订阅 ID

result

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

取消订阅成功消息

Is this page helpful?