wss://honeycluster.iounsubscribeUnsubscribes from previously subscribed event streams.
{
"result": {},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | string | WebSocket command name |
id | object | Client-supplied identifier to correlate requests with responses. |
streams | enum<string>[] | Array of stream types to unsubscribe from. |
accounts | string[] | Array of account addresses to unsubscribe from. |
accounts_proposed | string[] | Array of proposed-transaction accounts to unsubscribe from. |
books | object[] | Array of order book subscriptions to cancel. |
books[].required | object | Currency specification object identifying a token or XRP. |
books[].required | string | Three-letter ISO 4217 currency code, or 160-bit hex currency code. |
books[]. | string | Account address of the token issuer. Omit for XRP. |
books[].required | object | Currency specification object identifying a token or XRP. |
books[].required | string | Three-letter ISO 4217 currency code, or 160-bit hex currency code. |
books[]. | string | Account address of the token issuer. Omit for XRP. |
books[]. | boolean | |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "unsubscribe",
"id": 1,
"streams": [
"ledger",
"transactions"
],
"accounts": [
"rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn"
]
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {},
"status": "success",
"type": "response",
"id": 1
}