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

Subscribe command completions

/v2/commands/command-completions

Subscribe command completions

WebSocketSince 3.5
/v2/commands/command-completions

Protocol Details

Inputs

Outputs

Either_JsCantonError_CompletionStreamResponse

completionResponseobject

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>"
      }
    }
  }
}