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

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Publish flats

> Get flat transactions update stream.
Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with `canton.participants.&lt;participant>.features.deprecated.enable-deprecated-endpoints-34 = true`) and will be removed in Canton 3.7. Use /v2/updates instead.

[JSON API AsyncAPI](https://docs.canton.network/reference/json-api-asyncapi-reference/index.md)

›

[/v2/updates/flats](https://docs.canton.network/reference/json-api-asyncapi-reference/channels/v2-updates-flats.md)

›

publish

/v2/updates/flats

# Publish flats

WebSocket

[Updated 3.6](#history-updated-3-6)

[Removed in 3.7](#history-removed-3-7)

PUBLISH

`/v2/updates/flats`

Get flat transactions update stream.

Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with `canton.participants.&lt;participant>.features.deprecated.enable-deprecated-endpoints-34 = true`) and will be removed in Canton 3.7. Use /v2/updates instead.

## Protocol Details

Protocol
WebSocket

Channel
/v2/updates/flats

Action
publish

Operation ID
sendV2UpdatesFlats

Content type
application/json

Payload
object

## Inputs

### GetUpdatesRequest

Direction
Client -> Server

Message
GetUpdatesRequest

`beginExclusive`
string

required

## Outputs

## Related Schemas

> [accordion] GetUpdatesRequest
>
> `beginExclusive`
> string
>
> required

## History

Removed in
`3.7`

Last available in 3.6. Retained for historical reference.

Updated
`3.6`

channel description updated

Updated
`3.5`

publish description updated; publish required fields added: `beginExclusive`; publish required fields removed: `updateFormat`

wscat

```bash wscat theme={"theme":{"light":"github-light","dark":"github-dark"}}
npx wscat \
  -c <WEBSOCKET_URL> \
  -x '{"beginExclusive": "<integer>"}' \
  -w -1
```

message

application/json

```json message theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "beginExclusive": "<integer>"
}
```
