Skip to content
Documentation/canton-network-docs/Ledger APIOpenAPIView on canton-network-docs
canton-network-docs/Ledger APIOpenAPI

GET /v2/interactive

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

cURL

curl --request GET \
  --url https://api.example.com/v2/interactive-submission/preferred-package-version \
  --header 'Authorization: Bearer <token>'
200
400
default
{
  "packagePreference": {
    "packageReference": {
      "packageId": "<string>",
      "packageName": "<string>",
      "packageVersion": "<string>"
    },
    "synchronizerId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Ledger API standard JWT token

Query Parameters

parties
string[]
package-name
string
required
vetting_valid_at
string<date-time>
synchronizer-id
string

Response

200
application/json
packagePreference
PackagePreference · object

Not populated when no preferred package is found

Optional

Show child attributes