Solana RPC API手册

accountUnsubscribe

Unsubscribe from account change notifications

请求参数

  • <number> - id of account Subscription to cancel

响应结果

  • <bool> - unsubscribe success message

示例代码

请求:

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

响应:

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