Web Sockets

Web Sockets are organized around the idea of topics. There are public and private topics available.

To subscribe to topic updates, you should send a subscription message:

{
  "op": "subscribe",
  "args": ["market-info"]
}

On successful subscription, you will get confirmation.

{
 "op": "subscribe",
 "connectionId": "1d662f0e-4d20-4cc6-a0af-e58f797f7af5",
 "topics":[{ "name": "market-info", "success": true }]
}	

To subscribe to a private topic, you need authenticate the connection.

{
"op": "authenticate",
"args": [accountId,
        publicKey,
        timestamp,
        signature_r,
        signature_s]
}

Signature is signed timestamp=122667888888

Last updated