Listing all subscriptions
Note:
- Users should track the corresponding subscription status of related accounts as needed.
Listing all subscriptions › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Listing all subscriptions › Request Parameters optional
idClient-generated request identifier.
methodWebSocket API method name.
paramsListing all subscriptions › Responses
Listing all subscriptions
idstatusSubscribe to User Data Stream
Subscribe to the User Data Stream in the current WebSocket connection.
Notes:
- This method requires an authenticated WebSocket connection using Ed25519 keys. Please refer to
session.logon. - To check the subscription status, use
session.status, see theuserDataStreamflag indicating you have have an active subscription. - User Data Stream events are available in both JSON and SBE sessions.
- Please refer to User Data Streams for the event format details.
- For SBE, only SBE schema 2:1 or later is supported.
Subscribe to User Data Stream › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Subscribe to User Data Stream › Request Parameters optional
idClient-generated request identifier.
methodWebSocket API method name.
paramsSubscribe to User Data Stream › Responses
Subscribe to User Data Stream
idstatusSubscribe to User Data Stream through signature subscription
Subscribe to User Data Stream through signature subscription › Authorization
Subscribe to User Data Stream through signature subscription › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Subscribe to User Data Stream through signature subscription › Request Parameters optional
idClient-generated request identifier.
methodWebSocket API method name.
Subscribe to User Data Stream through signature subscription › Responses
Subscribe to User Data Stream through signature subscription
idstatusWebSocket Unsubscribe from User Data Stream
Stop listening to the User Data Stream in the current WebSocket connection.
Note that session.logout will only close the subscription created with userDataStream.subscribe but not subscriptions opened with userDataStream.subscribe.signature.
WebSocket Unsubscribe from User Data Stream › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
WebSocket Unsubscribe from User Data Stream › Request Parameters optional
idClient-generated request identifier.
methodWebSocket API method name.
WebSocket Unsubscribe from User Data Stream › Responses
Unsubscribe from User Data Stream
idstatusresult