Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network docs/Ledger API › gRPC API › Packages › v2 › Services › PackageServiceView on Canton Network docs ↗

ListPackages

Ledger API›gRPC API›v2›ListPackages

com.daml.ledger.api.v2

ListPackages

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

Protocol Details

ProtocolgRPC
ServicePackageService
RPCListPackages
Client streamNo
Server streamNo

Inputs

ListPackagesRequest

Messagecom.daml.ledger.api.v2.ListPackagesRequest
Client streamNo

Outputs

ListPackagesResponse

Messagecom.daml.ledger.api.v2.ListPackagesResponse
Server streamNo
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"
  ]
}