Solana RPC API手册

slotUnsubscribe

Unsubscribe from slot notifications

请求参数

  • <integer> - subscription id to cancel

响应结果

  • <bool> - unsubscribe success message

示例代码

请求:

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

响应:

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