Subscriptions
Inverse Perp Btc Usd Last Price
Last price updates: weighted average of the reference exchanges' perpetual last trade prices (display only)
Public · 4 fields
Topic inverse_perp/btc_usd/lastPrice
Last price updates: weighted average of the reference exchanges' perpetual last trade prices (display only)
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/lastPrice"
]
}
}Payload
Each notification carries the fields below in params.data.
time*numberlastPrice*numberinstrument*stringinverse_perplinear_perpquanto_perpquanto_spotspotpair*stringExample 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/lastPrice",
"data": {
"time": 0,
"lastPrice": 0,
"instrument": "inverse_perp",
"pair": "string"
}
}
}