Skip to main content

/v2/updates/trees

Subscribe trees

/v2/updates/trees
Get update transactions tree stream.Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with canton.participants.<participant>.features.deprecated.enable-deprecated-endpoints-34 = true) and will be removed in Canton 3.7. Use /v2/updates instead.

Protocol Details

ProtocolWebSocket
Channel/v2/updates/trees
Actionsubscribe
Operation IDonV2UpdatesTrees
Content typeapplication/json
PayloadoneOf

Inputs

Outputs

Either_JsCantonError_JsGetUpdateTreesResponse

DirectionServer -> Client
MessageEither_JsCantonError_JsGetUpdateTreesResponse
Variants

JsCantonError

object

codestringrequired
causestringrequired
contextobjectrequired
errorCategorystringrequired

JsGetUpdateTreesResponse

object

updateobject
Variants

update

oneOf

OffsetCheckpointobject
Variants

OffsetCheckpoint

object

OffsetCheckpointobjectrequired

Reassignment

object

Reassignmentobjectrequired

TransactionTree

object

TransactionTreeobjectrequired
Variants

JsCantonError

object

codestringrequired
causestringrequired
contextobjectrequired
errorCategorystringrequired

JsGetUpdateTreesResponse

object

updateobject
Variants

update

oneOf

OffsetCheckpointobject
Variants

OffsetCheckpoint

object

OffsetCheckpointobjectrequired

Reassignment

object

Reassignmentobjectrequired

TransactionTree

object

TransactionTreeobjectrequired

History

Removed in3.7

Last available in 3.6. Retained for historical reference.

Updated3.6

channel description updated

Updated3.5

subscribe description updated