Skip to content

Function: getWSConnectionCategoryForTopic() ​

ts
function getWSConnectionCategoryForTopic(wsTopic: string): WSConnectionCategory;

Follows API spec to route topics to specific WS Endpoints: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Important-WebSocket-Change-Notice#public--market-combined-subscriptions

Parameters ​

ParameterType
wsTopicstring

Returns ​

WSConnectionCategory

Built by Siebly. Open source SDKs for exchange APIs.