slotUnsubscribe RPC Method

Unsubscribe from slot notifications

Parameters#

integerrequired

subscription id to cancel

Result#

<bool> - unsubscribe success message

Code sample#

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

Response#

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