Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.daml.ledger.api.v2ServicesPackageServiceView on Canton Network Docs

ListPackages

Ledger APIProtobufcom.daml.ledger.api.v2ListPackages

com.daml.ledger.api.v2

ListPackages

gRPC
RPC/com.daml.ledger.api.v2.PackageService/ListPackages

Protocol Details

Inputs

ListPackagesRequest

Outputs

ListPackagesResponse

package_idsrepeated string

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"
  ]
}