Skip to main content

Subscribe System Notice

Reminder
  • Before using this endpoint, please call the "server.sign" method for signature authorization.
  • The push delay of this method is: real-time

Subscribe System Notice

  • Method: notice.subscribe
  • Parameters:
Parameter NameRequiredTypeNotes
channelstrue[]intChannel list, currently only supports system maintenance subscription 101
  • Example:
// Subscribe system maintenance
{
"method": "notice.subscribe",
"params": {"channels": [101]},
"id": 1
}

System Notice Push

  • Method: notice.update
  • Parameters:
Parameter NameTypeNotes
channelintChannel, currently only supports system maintenance 101
infoobjectnotification info
  • Example:
// System maintenance push
{
"method": "notice.update",
"data": {
"channel": 101,
"info": {
"start_time": 1640793607122,
"end_time": 1640793600122,
"scope": ["FUTURES", "SPOT"],
"protect_duration_start": 1640793600122,
"protect_duration_end": 1640794200321
}
},
"id": null
}

Unsubscribe System Notice

  • Method: notice.unsubscribe
  • Parameters:
Parameter NameRequiredTypeNotes
channelstrue[]intChannel list, currently only supports system maintenance subscription 101, null means canceling all subscriptions
  • Example:
// Unsubscribe system maintenance
{
"method": "notice.unsubscribe",
"params": {"channels": [101]},
"id": 1
}

// Unsubscribe all system notice
{
"method": "notice.unsubscribe",
"params": {"channels": []},
"id": 1
}