accountUnsubscribe

Unsubscribe from account change notifications

Parameters

number (required)

Description: ID of the account subscription to cancel.


Result

The result will return a <bool> indicating the success of the unsubscribe operation.

  • true: Unsubscribe operation succeeded.

  • false: Unsubscribe operation failed.


Code Sample

Request Example:

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

Response Example:

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

Notes

  • The id provided in the parameters should match the subscription ID obtained during the initial subscription process.

  • The response will confirm if the subscription was successfully canceled.

Last updated