Removed in 3.7. Historical definition from 3.6.
Submit a batch of commands and wait for the transaction trees response. 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/commands/submit-and-wait-for-transaction instead.Protocol Details
Inputs
commandsCommand[]requiredcommandIdstringrequiredvalue.proto). RequiredactAsstring[]requiredvalue.proto). Required: must be non-emptyuserIdstringvalue.proto). Required unless authentication is used with a user token. In that case, the token’s user-id will be used for the request’s user_id. OptionalreadAsstring[]act_as) contracts can be retrieved. This affects Daml operations such as fetch, fetchByKey, lookupByKey, exercise, and exerciseByKey. Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant node is only visible to a subset of these parties. A command can only use contracts that are visible to at least one of the parties in act_as or read_as. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional: can be emptyworkflowIdstringvalue.proto). OptionaldeduplicationPeriodDeduplicationPeriodminLedgerTimeAbsstringminLedgerTimeRelDurationsubmissionIdstringvalue.proto). If omitted, the participant or the committer may set a value of their choice. OptionaldisclosedContractsDisclosedContract[]synchronizerIdstringpackageIdSelectionPreferencestring[]prefetchContractKeysPrefetchContractKey[]tapsMaxPassesinteger (int32)Outputs
transactionTreeJsTransactionTreecanton.participants.<participant>.features.deprecated.enable-deprecated-endpoints-34 = true; it will be removed in the Canton version 3.7.0. Complete view of an on-ledger transaction.codestringrequiredcausestringrequiredcorrelationIdstringtraceIdstringcontextMap_StringrequiredresourcesTuple2_String_String[]errorCategoryinteger (int32)requiredgrpcCodeValueinteger (int32)retryInfostringdefiniteAnswerbooleanHistory
3.7Last available in 3.6. Retained for historical reference.
3.6The POST /v2/commands/submit-and-wait-for-transaction-tree operation changed in this snapshot.
3.5The POST /v2/commands/submit-and-wait-for-transaction-tree operation changed in this snapshot.
3.4