Solana RPC API手册

programUnsubscribe

Unsubscribe from program-owned account change notifications

请求参数

  • <integer> - id of account Subscription to cancel

响应结果

  • <bool> - unsubscribe success message

示例代码

请求:

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

响应:

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