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.
Protocol Details
Inputs
Outputs
Either_JsCantonError_JsGetActiveContractsResponse
Variants
JsCantonError
object
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredJsGetActiveContractsResponse
object
workflowIdstringcontractEntryobjectstreamContinuationTokenstringRelated Schemas
Either_JsCantonError_JsGetActiveContractsResponse
Either_JsCantonError_JsGetActiveContractsResponse
Variants
JsCantonError
object
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredJsGetActiveContractsResponse
object
workflowIdstringcontractEntryobjectstreamContinuationTokenstringVariants
contractEntry
oneOf
JsActiveContractobjectVariants
JsActiveContract
object
JsActiveContractobjectrequiredJsEmpty
object
JsEmptyobjectrequiredJsIncompleteAssigned
object
JsIncompleteAssignedobjectrequiredJsIncompleteUnassigned
object
JsIncompleteUnassignedobjectrequiredHistory
Updated
3.5channel description updated; subscribe description updated
Added
3.4wscat
wscat
messageapplication/json
message