Skip to content
Documentation/canton-network-docs/Ledger APIAsyncAPI/v2/commands/completionsView on canton-network-docs
canton-network-docs/Ledger APIAsyncAPI/v2/commands/completions

Subscribe completions

/v2/commands/completions

Subscribe completions

WebSocketSince 3.4Changed 3.5
/v2/commands/completions

Protocol Details

Inputs

Outputs

Either_JsCantonError_CompletionStreamResponse

completionResponseobject

Lifecycle Changes

3.5channel description updated; publish description updated; subscribe description updated

Either_JsCantonError_CompletionStreamResponse

completionResponseobject
wscat
wscat
npx wscat -c <WEBSOCKET_URL>
messageapplication/json
message
{
  "completionResponse": {
    "Completion": {
      "value": {
        "commandId": "<string>",
        "userId": "<string>",
        "actAs": [
          "<string>"
        ],
        "offset": "<integer>",
        "synchronizerTime": "<object>"
      }
    }
  }
}