Skip to main content

JSON Ledger API

GET /v2/interactive-submission/preferred-package-version

GET/v2/interactive-submission/preferred-package-version

Removed in 3.7. Historical definition from 3.6.

Get the preferred package version for constructing a command submission. A preferred package is the highest-versioned package for a provided package-name that is vetted by all the participants hosting the provided parties.

Protocol Details

Operation IDgetV2Interactive-submissionPreferred-package-version
AuthenticationBearer token
Published3.6

Inputs

Query parameters

partiesstring[]
package-namestringrequired
vetting_valid_atstring (date-time)
synchronizer-idstring

Outputs

200

application/json
packagePreferencePackagePreference
Not populated when no preferred package is found Optional

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 GET /v2/interactive-submission/preferred-package-version operation changed in this snapshot.

Deprecated3.5
Updated3.5

The GET /v2/interactive-submission/preferred-package-version operation changed in this snapshot.