programUnsubscribe

Unsubscribe from program-owned account change notifications

Parameters

number (required)

ID of the account subscription to cancel.


Result

Returns a <bool> indicating whether the unsubscribe operation was successful:

  • true: Unsubscribe operation succeeded.

  • false: Unsubscribe operation failed.


Code Sample

Request Example:

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

Response Example:

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

Last updated