Solana RPC API手册

logsUnsubscribe

Unsubscribe from transaction logging

请求参数

  • <integer> - id of subscription to cancel

响应结果

  • <bool> - unsubscribe success message

示例代码

请求:

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

响应:

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