Message Format
WebSocket API message format
Last updated
WebSocket API message format
Last updated
Messages received from the WebSocket API will be JSON objects with the following similar format:
Property | Type | Description |
---|---|---|
Please note that the sequence
number sent by the WebSocket is not guaranteed to be in ascending order. If you detect any gaps or incorrect ordering you should reconnect.
Example Message
sequence
int
The sequence number that the message was sent in
recipient
string
The corresponding WebSocket feed that the message was sent to
timestamp
int
The UNIX timestamp (in nanoseconds)
payload
JSON
The payload parameter will be a JSON string that contains then data