> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
> Use this file to discover all available pages before exploring further.

# Consolidated Trade Updates

> Subscribe to real-time consolidated trade updates

<Warning>
  This WebSocket API will be deprecated on July 1, 2026. See the [Migration Guide](/api-reference/centrifugo-migration) to move to the Centrifuge-based API.
</Warning>

Subscribe to all consolidated trade updates on the exchange. You will receive updates when a consolidated trade is settled or a new consolidated trade available.

**CHANNEL NAME FORMAT**

`recent_trades_consolidated`

**MESSAGE PAYLOAD FORMAT**

See [the trades section](/api-reference/get-trades-consolidated) for the format of the message

<Note>Quarter-line bets emit three messages: two legs flagged with `isQuarterLineLeg: true` and one synthetic parent flagged with `isQuarterLineParent: true`. See the [quarter lines changelog entry](/changelog#quarter-lines-gradual-rollout).</Note>

***

```javascript theme={null}
const channel = realtime.channels.get('recent_trades_consolidated');
channel.subscribe((message) => {
  console.log(message.data);
});
```

The above command returns JSON structured like this

```json theme={null}
{
  "baseToken": "0x5147891461a7C81075950f8eE6384e019e39ab90",
  "tradeStatus": "PENDING",
  "bettor": "0x1562258769E6c0527bd83502E9dfc803929fa446",
  "totalStake": "10.0",
  "weightedAverageOdds": "707500000000000000000",
  "marketHash": "0x5bea2dc8ad1be455547d1ed043cea34457c0b49a4f6aad0d4ddcb19107e9057f3",
  "maker": false,
  "settled": false,
  "fillHash": "0xd81d39b80f1336affc84c6f03944ad5bc6d6ee1cd7a6ba8318595812d8ad11c7",
  "gameLabel": "Andrey Rublev vs Fabian Marozsan",
  "sportXeventId": "L13351999",
  "gameTime": "2024-07-25T16:00:00.000Z",
  "leagueLabel": "ATP Umag",
  "bettingOutcomeLabel": "Andrey Rublev",
  "bettingOutcome": 1,
  "chainVersion": "SXN"
}
```
