Protocol Details
Inputs
Outputs
The server streams a sequence ofEither_JsCantonError_JsGetUpdatesResponse messages. Each message is one of:Success — a JsGetUpdatesResponse containing a single update:<Update> is one of:| Variant | Key | Description |
|---|---|---|
| Transaction | "Transaction" | A committed ledger transaction |
| OffsetCheckpoint | "OffsetCheckpoint" | An offset checkpoint (no transaction, used to track progress) |
| Reassignment | "Reassignment" | A contract reassignment between synchronizers |
| TopologyTransaction | "TopologyTransaction" | A topology change (party or key update) |
JsCantonError with fields code, cause, context, and errorCategory (documented below).Either_JsCantonError_JsGetUpdatesResponse
codestringcausestringcontextobjecterrorCategorystringLifecycle Changes
3.5channel description updated; publish description updated; publish required fields added:
beginExclusive; publish required fields removed: updateFormat; subscribe description updatedRelated Schemas
Either_JsCantonError_JsGetUpdatesResponse
Either_JsCantonError_JsGetUpdatesResponse
codestringcausestringcontextobjecterrorCategorystringwscat
wscat
messageapplication/json
message