Home

unsubscribe

POST
https://xrp.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Unsubscribe from real-time updates for various types of data in the XRP Ledger. This method cancels existing subscriptions to streaming data such as transactions, ledger closes, order book changes, and account updates.

Body

application/json

Unsubscribe from real-time updates for various types of data in the XRP Ledger. This method cancels existing subscriptions to streaming data such as transactions, ledger closes, order book changes, and account updates.

JSON-RPC request payload.

idstring

Optional unique identifier for the unsubscribe request. Should match the ID used in the original subscribe request if applicable.

commandstringunsubscriberequired

The command name

streamsArray<string>ledgerservertransactionstransactions_proposedvalidationsmanifests

Array of stream types to unsubscribe from.

accountsArray<string>

Array of account addresses to unsubscribe from regular transaction streams.

accounts_proposedArray<string>

Array of account addresses to unsubscribe from proposed transaction streams.

booksArray<object>

Array of order book specifications to unsubscribe from.

Show child attributes
taker_paysobject

The currency the taker would pay in the exchange.

Show child attributes
currencystring

Currency code

taker_getsobject

The currency the taker would receive in the exchange.

Show child attributes
currencystring

Currency code

issuerstring

Issuer account address

bothboolean

If true, unsubscribe from both sides of the order book. If false or omitted, only unsubscribe from the specified side.

methodstringunsubscribe

JSON-RPC method name.

paramsarray

Ordered JSON-RPC method parameters.

Response

200OK

HTTP 200 response for unsubscribe. The body contains either a successful result or a method-level JSON-RPC error.

400Bad Request

Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.

401Unauthorized

Unauthorized: API key is present but rejected by the NOWNodes gateway.

405Method Not Allowed

Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.

422Unprocessable Entity

Missing API key. The NOWNodes gateway returns plain text for this error.

500Internal Server Error

Internal Server Error. The gateway or node failed while processing the request.