Skip to content
CCPEDIAby Unity Nodes
Canton Network docsLedger API › AsyncAPI

JSON API AsyncAPI Reference

Updated 03-12-2026

AsyncAPI Reference

JSON API AsyncAPI Reference

Operation-first WebSocket reference pages built from AsyncAPI channel snapshots and lifecycle deltas.

AsyncAPI3.8
Publish version3.8
AsyncAPI version2.6.0
SourceCanton release bundle JSON Ledger API AsyncAPI fixtures
Version filterconfigured docs major versions from Canton release bundles

Channels

Use the channel page to choose a specific publish or subscribe action. Action pages are the primary reference surface.
/v2/commands/command-completions
WebSocketAdded 3.5Updated 3.8

Subscribe to command completion events. This streaming endpoint provides more flexibility in filtering than the predecessor CompletionStream. Required permissions: “ledger:…

Actionspublish, subscribe
Last seen3.8
/v2/commands/completions
WebSocketUpdated 3.8

Deprecated: please use GetCompletions instead. Subscribe to command completion events. Required permissions: ledger:read and ability to read as the mentioned parties

Actionspublish, subscribe
Last seen3.8
/v2/state/active-contracts
WebSocketUpdated 3.8

Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset. This endpoint does not accept filters_by_contract_id in “EventFo…

Actionspublish, subscribe
Last seen3.8
/v2/state/hosted-parties
WebSocketAdded 3.8

Returns a stream of the snapshot of the hosted parties at a ledger offset, which are satisfying the request’s query parameters. Once the stream of GetHostedParties completes, th…

Actionspublish, subscribe
Last seen3.8
/v2/updates
WebSocketUpdated 3.8

Read the ledger’s filtered update stream for the specified contents and filters. This endpoint accepts filters_by_contract_id in EventFormat. It returns the event types…

Actionspublish, subscribe
Last seen3.8
/v2/updates/flats
WebSocketUpdated 3.6Actions removed in 3.7

Get flat transactions update stream. Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with `canton.participants.<participant>.features.de…

Actionspublish, subscribe
Last seen3.6
/v2/updates/trees
WebSocketUpdated 3.6Actions removed in 3.7

Get update transactions tree stream. Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with `canton.participants.<participant>.features.de…

Actionspublish, subscribe
Last seen3.6