Documentation/Canton Network Docs/Ledger APIgRPC APIPackagesv2ServicesPackageServiceView on Canton Network Docs ↗
ListPackages
RPC
/com.daml.ledger.api.v2.PackageService/ListPackagesProtocol Details
Inputs
ListPackagesRequest
Outputs
ListPackagesResponse
package_idsrepeated stringRelated Schemas
com.daml.ledger.api.v2.ListPackagesRequest
com.daml.ledger.api.v2.ListPackagesRequest
com.daml.ledger.api.v2.ListPackagesResponse
com.daml.ledger.api.v2.ListPackagesResponse
package_idsrepeated stringgrpcurl
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"
]
}