Skip to content
Documentation/canton-network-docs/Ledger APIgRPC APIPackagesv2ServicesPackageServiceView on canton-network-docs
canton-network-docs/Ledger APIgRPC APIPackagesv2ServicesPackageService

ListPackages

Ledger APIgRPC APIv2ListPackages

com.daml.ledger.api.v2

ListPackages

gRPCSince 3.4.4
RPC/com.daml.ledger.api.v2.PackageService/ListPackages

Protocol Details

Inputs

ListPackagesRequest

Outputs

ListPackagesResponse

package_idsrepeated string

Lifecycle Changes

3.4.4introduced

com.daml.ledger.api.v2.ListPackagesRequest

com.daml.ledger.api.v2.ListPackagesResponse

package_idsrepeated string
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.PackageService/ListPackages <<'EOF'
{}
EOF
OKapplication/json
OK
{
  "packageIds": [
    "string"
  ]
}