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

GET /v2/packages

GET
/
v2
/
packages
Try it
GET /v2/packages

cURL

curl --request GET \
  --url https://api.example.com/v2/packages \
  --header 'Authorization: Bearer <token>'
200
400
default
{
  "packageIds": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Ledger API standard JWT token

Response

200
application/json
packageIds
string[]
required

The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in value.proto).

Required: must be non-empty