Skip to main content

6.0 General

As explained in Asynchronous Server Message Format, the asynchronous messages sent by MollyBet API to your software have a structure:

{
"ts": timestamp,
"data": [
[ code1, payload1 ],
[ code2, payload2 ],
...
]
}

This section explains, for each code type, the format of the received payload.

Please note that the WebSocket might send data with a code not specified here: your client should ignore any message it doesn't understand or it shouldn't process.

Available message types: