---
title: "GET /v2/updates/transaction-tree-by-id/:update-id"
method: GET
path: "/v2/updates/transaction-tree-by-id/{update-id}"
deprecated: true
---

# GET /v2/updates/transaction-tree-by-id/:update-id

`GET /v2/updates/transaction-tree-by-id/{update-id}`

> **Deprecated.**

Get transaction tree by id. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-id instead.

## Path parameters

- `update-id` string, required

## Query parameters

- `parties` string[]

## Response `200`

- JsGetTransactionTreeResponse — Provided for backwards compatibility, it will be removed in the Canton version 3.5.0.
  - `transaction` JsTransactionTree, required — Provided for backwards compatibility, it will be removed in the Canton version 3.5.0. Complete view of an on-ledger transaction.
    - `updateId` string, required — Assigned by the server. Useful for correlating logs. Must be a valid LedgerString (as described in ``value.proto``). Required
    - `commandId` string — The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. Must be a valid LedgerString (as described in ``value.proto``). Optional
    - `workflowId` string — The workflow ID used in command submission. Only set if the ``workflow_id`` for the command was set. Must be a valid LedgerString (as described in ``value.proto``). Optional
    - `effectiveAt` string, required — Ledger effective time. Required
    - `offset` integer, required — The absolute offset. The details of this field are described in ``community/ledger-api/README.md``. Required, it is a valid absolute offset (positive integer).
    - `eventsById` MapIntTreeEvent, required
    - `synchronizerId` string, required — A valid synchronizer id. Identifies the synchronizer that synchronized the transaction. Required
    - `traceContext` TraceContext
      - `traceparent` string — https://www.w3.org/TR/trace-context/ Optional
      - `tracestate` string — Optional
    - `recordTime` string, required — The time at which the transaction was recorded. The record time refers to the synchronizer which synchronized the transaction. Required

## Other responses

- `400` — Invalid value, Invalid value for: query parameter parties
- `default`

---

[API](https://skmtc.dev/canton/apis/json-ledger-api-http-endpoints.md) · [All operations](https://skmtc.dev/canton/apis/json-ledger-api-http-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/canton/json-ledger-api-http-endpoints/revisions/296292e8b8f1/schema)
