PUBLISH Channels
Request
Field
Type
Required
Description
op
string
Yes
Operation code: channels
id
integer
No
Request ID, an arbitrary integer to link requests with responses. Example: 1
Example
{
"id": 1,
"op": "channels"
}Response
Field
Type
Required
Description
data
array of strings
Yes
Array of available channels to subscribe to. Example: orderbook-100ms:ETH-27JAN23-1050-P
id
integer
No
Response ID, an arbitrary integer to link requests with responses. Example: 1
Example
{
"id": 1,
"data": [
"orderbook-100ms:ETH-27JAN23-1050-P",
"orderbook-100ms:ETH-13JAN23-850-P"
]
}Last updated
Was this helpful?

