Removed in 3.7. Historical definition from 3.6.
Query update transactions tree list (blocking call). 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 instead. Notice: This endpoint should be used for small results set.Protocol Details
Inputs
limitinteger (int64)maximum number of elements to return, this param is ignored if is bigger than server setting
stream_idle_timeout_msinteger (int64)timeout to complete and send result if no new elements are received (for open ended streams)
application/json
beginExclusiveinteger (int64)requiredExclusive lower bound offset of the requested ledger section (non-negative integer). The response will only contain transactions whose offset is strictly greater than this. If set to zero, the lower bound is set to the beginning of the ledger. If the participant has been pruned, this parameter must be greater or equal than the pruning offset. Required
endInclusiveinteger (int64)Inclusive higher bound offset of the requested ledger section. If specified the response will only contain transactions whose offset is less than or equal to this. If not specified, - the descending_order must not be selected, - the stream will not terminate. Optional
filterTransactionFilterDeprecated: disabled unless
canton.participants.<participant>.features.deprecated.enable-deprecated-parameters-34 = true; it will be removed in the Canton version 3.7.0. Used both for filtering create and archive events as well as for filtering transaction trees.verbosebooleanDeprecated: disabled unless
canton.participants.<participant>.features.deprecated.enable-deprecated-parameters-34 = true; it will be removed in the Canton version 3.7.0. If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids for record fields. Optional for backwards compatibility, if defined update_format must be unsetupdateFormatUpdateFormatA format specifying what updates to include and how to render them.
descendingOrderbooleanIf set, the stream will populate the elements in descending order. Optional
Outputs
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/trees operation changed in this snapshot.
Updated
3.5The POST /v2/updates/trees 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