unsubscribe
Authorizations
ApiKeyAuthApiKeyAuthapi-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
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.
idstringOptional unique identifier for the unsubscribe request. Should match the ID used in the original subscribe request if applicable.
commandstringunsubscriberequiredThe command name
streamsArray<string>ledgerservertransactionstransactions_proposedvalidationsmanifestsArray 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.
methodstringunsubscribeJSON-RPC method name.
paramsarrayOrdered JSON-RPC method parameters.
Response
HTTP 200 response for unsubscribe. The body contains either a successful result or a method-level JSON-RPC error.
Bad Request. The request body is malformed or contains invalid JSON-RPC parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or node failed while processing the request.