Subscribe

Users can subscribe to one or more channels, and the total length of multiple channels cannot exceed 4096 bytes

{"op": "subscribe", "args": ["<topic>"]}

Parameter Instructions

  1. op=subscribe
  2. The content of the args array is the subscribed topic
  3. topic is composed of <channel>:<filter>
    • channel is composed of business/name
    • filter can filter data, refer to the description of each channel for details

Example

  • Request

    {"op": "subscribe", "args": ["spot/ticker:BTC_USDT"]}
    
  • Response

    {"table":"spot/ticker:BTC_USDT","data":[]}
    

results matching ""

    No results matching ""