Removed in 3.7. Historical definition from 3.6.
Get transaction by id. Deprecated since Canton 3.4: disabled by default since Canton 3.6 (re-enable temporarily withcanton.participants.<participant>.features.deprecated.enable-deprecated-endpoints-34 = true) and will be removed in Canton 3.7. Use POST /v2/updates/update-by-id instead.Protocol Details
Inputs
application/json
updateIdstringrequiredThe ID of a particular transaction. Must be a valid LedgerString (as described in
value.proto). RequiredrequestingPartiesstring[]Deprecated: disabled unless
canton.participants.<participant>.features.deprecated.enable-deprecated-endpoints-34 = true; it will be removed in the Canton version 3.7.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in value.proto). Optional for backwards compatibility for GetTransactionById request: if defined transaction_format must be unset (falling back to defaults).transactionFormatTransactionFormatA format that specifies what events to include in Daml transactions and what data to compute and include for them.
Outputs
application/json
transactionJsTransactionrequiredFiltered view of an on-ledger transaction’s create and archive events.
application/json
codestringrequiredcausestringrequiredcorrelationIdstringtraceIdstringcontextMap_StringrequiredresourcesTuple2_String_String[]errorCategoryinteger (int32)requiredgrpcCodeValueinteger (int32)retryInfostringdefiniteAnswerbooleanHistory
Removed in
3.7Last available in 3.6. Retained for historical reference.
Updated
3.6The POST /v2/updates/transaction-by-id operation changed in this snapshot.
Updated
3.5The POST /v2/updates/transaction-by-id operation changed in this snapshot.
Deprecated
3.4cURL
cURL
Python
Python
JavaScript
JavaScript
PHP
PHP
Go
Go
Java
Java
Ruby
Ruby
200application/json
200
400text/plain
400
defaultapplication/json
default