Skip to main content

JSON Ledger API

POST /v2/updates/transaction-by-id

POST/v2/updates/transaction-by-id

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 with canton.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

Operation IDpostV2UpdatesTransaction-by-id
AuthenticationBearer token
Published3.6

Inputs

Body

application/json
updateIdstringrequired
The ID of a particular transaction. Must be a valid LedgerString (as described in value.proto). Required
requestingPartiesstring[]
Deprecated: disabled unless canton.participants.&lt;participant&gt;.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).
transactionFormatTransactionFormat
A format that specifies what events to include in Daml transactions and what data to compute and include for them.

Outputs

200

application/json
transactionJsTransactionrequired
Filtered view of an on-ledger transaction’s create and archive events.

400

text/plain
valuestringrequired

default

application/json
codestringrequired
causestringrequired
correlationIdstring
traceIdstring
contextMap_Stringrequired
resourcesTuple2_String_String[]
errorCategoryinteger (int32)required
grpcCodeValueinteger (int32)
retryInfostring
definiteAnswerboolean

History

Removed in3.7

Last available in 3.6. Retained for historical reference.

Updated3.6

The POST /v2/updates/transaction-by-id operation changed in this snapshot.

Updated3.5

The POST /v2/updates/transaction-by-id operation changed in this snapshot.

Deprecated3.4