GET path substitutes {update-id}. GetTransactionTreeByIdParams: updateId, optional verbose, parties. SDK merges client.getPartyId() with parties for parties query repeats.
Receiver: await canton.ledger.getTransactionTreeById
Setup
import { Canton } from '@fairmint/canton-node-sdk';
const canton = new Canton({
network: 'devnet',
provider: '5n',
partyId: 'OWN_PARTY_ID',
});
Minimal example
const tree = await canton.ledger.getTransactionTreeById({
updateId: 'UPDATE_ID',
});
Parameters — GetTransactionTreeByIdParams
updateId, optional verbose, parties.
Returns — GetTransactionTreeByIdResponse
Nested exercise/create/archive structure OpenAPI typing.
Auth and party
Merged parties must align read-as grants.