Skip to main content

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.

Back to overview

AsyncAPI Channel

/v2/state/active-contracts

Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset. Once the stream of GetActiveContractsResponses completes, the client…

WebSocketSince 3.4Changed 3.5

Actions

Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset. Once the stream of GetActiveContractsResponses completes, the client SHOULD begin streaming updates from the update service, starting at the GetActiveContractsRequest.active_at_offset specified in this request. Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.

publish /v2/state/active-contracts

Publish GetActiveContractsRequest messages from the client to /v2/state/active-contracts.

WebSocketSince 3.4Changed 3.5

subscribe /v2/state/active-contracts

Receive Either_JsCantonError_JsGetActiveContractsResponse messages from /v2/state/active-contracts on the subscription stream.

WebSocketSince 3.4Changed 3.5