Documentation/Canton Network Docs/Ledger API › AsyncAPI › v2/updates/treesView on Canton Network Docs ↗
Subscribe trees
SUBSCRIBE
Get update transactions tree stream. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates instead./v2/updates/treesProtocol 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
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredRelated Schemas
Either_JsCantonError_JsGetUpdateTreesResponse
Either_JsCantonError_JsGetUpdateTreesResponse
Variants
JsCantonError
object
codestringrequiredcausestringrequiredcontextobjectrequirederrorCategorystringrequiredJsGetUpdateTreesResponse
object
updateobjectVariants
update
oneOf
OffsetCheckpointobjectVariants
OffsetCheckpoint
object
OffsetCheckpointobjectrequiredReassignment
object
ReassignmentobjectrequiredTransactionTree
object
TransactionTreeobjectrequiredHistory
Updated
3.5subscribe description updated
wscat
wscat
npx wscat -c <WEBSOCKET_URL>
messageapplication/json
message
{
"code": "<string>",
"cause": "<string>",
"context": {},
"errorCategory": "<integer>"
}