{
"id":"clientID9",
"event":"subscribe",
"success":true,
"ts":1682242805633
}
{
"topic":"markprices",
"ts":1682242806000,
"data":[
{
"symbol":"PERP_ETH_USDC",
"price":2300.0
},
{
"symbol":"PERP_NEAR_USDC",
"price":2.15
},
]
}
{
"id":"clientID9",
"event":"subscribe",
"success":true,
"ts":1682242805633
}
{
"topic":"markprices",
"ts":1682242806000,
"data":[
{
"symbol":"PERP_ETH_USDC",
"price":2300.0
},
{
"symbol":"PERP_NEAR_USDC",
"price":2.15
},
]
}
Push interval: 1s
{
"id": "clientID",
"topic": "markprices",
"event": "subscribe"
}
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | Y | id generate by client |
event | string | Y | subscribe /unsubscribe |
topic | string | N | markprices |
{
"id":"clientID9",
"event":"subscribe",
"success":true,
"ts":1682242805633
}
{
"topic":"markprices",
"ts":1682242806000,
"data":[
{
"symbol":"PERP_ETH_USDC",
"price":2300.0
},
{
"symbol":"PERP_NEAR_USDC",
"price":2.15
},
]
}