Canton Network docsLedger API › AsyncAPI › v2/updates/trees
Subscribe trees
Updated 24-11-2026
SUBSCRIBE
Get update transactions tree stream.Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily with /v2/updates/treescanton.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
DirectionServer -> Client
MessageEither_JsCantonError_JsGetUpdateTreesResponse
Variants
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredRelated Schemas
Either_JsCantonError_JsGetUpdateTreesResponse
Either_JsCantonError_JsGetUpdateTreesResponse
Variants
JsCantonError
object
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredJsGetUpdateTreesResponse
object
updateobjectVariants
update
oneOf
OffsetCheckpointobjectVariants
OffsetCheckpoint
object
OffsetCheckpointobjectrequiredReassignment
object
ReassignmentobjectrequiredTransactionTree
object
TransactionTreeobjectrequiredHistory
Removed in
3.7Last available in 3.6. Retained for historical reference.
Updated
3.6channel description updated
Updated
3.5subscribe description updated
wscat
wscat
npx wscat -c <WEBSOCKET_URL>
messageapplication/json
message
{
"code": "<string>",
"cause": "<string>",
"context": {},
"errorCategory": "<integer>"
}