Messages
{
"req": "sub",
"chs": [
"trades::1"
]
}{
"req": "unsub",
"chs": [
"trades::1"
]
}{
"data": []
}{
"data": []
}{
"ch": "trades::1",
"ts": 1767225600000,
"sq": 1234567890,
"data": [
{
"tid": 1,
"iid": 1,
"side": "long",
"p": "100.00",
"qty": "10.00",
"ts": 1767225600000,
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
]
}Perps WebSocket public trade updates.
WSS
/
v1
/
ws
Messages
{
"req": "sub",
"chs": [
"trades::1"
]
}{
"req": "unsub",
"chs": [
"trades::1"
]
}{
"data": []
}{
"data": []
}{
"ch": "trades::1",
"ts": 1767225600000,
"sq": 1234567890,
"data": [
{
"tid": 1,
"iid": 1,
"side": "long",
"p": "100.00",
"qty": "10.00",
"ts": 1767225600000,
"hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
]
}Subscribe
type:object
Subscribe to public trade updates for an instrument
Unsubscribe
type:object
Unsubscribe from public trade updates
Subscribe Response
type:object
Response to trades subscribe request
Unsubscribe Response
type:object
Response to trades unsubscribe request
Update
type:object
Real-time trade updates for subscribed instruments
Was this page helpful?
⌘I