Subscriptions

Inverse Perp Btc Usd Mark

Mark price updates

Public · 4 fields

Topic inverse_perp/btc_usd/mark

Mark price updates

Public topic — anyone connected to the WebSocket can subscribe, no API key needed.

Subscribe

Subscribe by calling the subscribe method with this topic.

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "subscribe",
  "params": {
    "topics": [
      "inverse_perp/btc_usd/mark"
    ]
  }
}

Payload

Each notification carries the fields below in params.data.

time*number
mark*number
instrument*string
inverse_perplinear_perpquanto_perpquanto_spotspot
pair*string

Example notification

The server pushes the JSON-RPC notification below for every event on this topic.

Notification

{
  "jsonrpc": "2.0",
  "method": "subscription",
  "params": {
    "topic": "inverse_perp/btc_usd/mark",
    "data": {
      "time": 0,
      "mark": 0,
      "instrument": "inverse_perp",
      "pair": "string"
    }
  }
}