Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network docs/Ledger API › Protobufs › Packages › com.daml.ledger.api.v2 › Services › PackageServiceView on Canton Network docs ↗

GetPackageStatus

Ledger API›Protobuf›com.daml.ledger.api.v2›GetPackageStatus

com.daml.ledger.api.v2

GetPackageStatus

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

Protocol Details

ProtocolgRPC
ServicePackageService
RPCGetPackageStatus
Client streamNo
Server streamNo

Inputs

GetPackageStatusRequest

Messagecom.daml.ledger.api.v2.GetPackageStatusRequest
Client streamNo
package_idstring

Outputs

GetPackageStatusResponse

Messagecom.daml.ledger.api.v2.GetPackageStatusResponse
Server streamNo
package_statusPackageStatus

com.daml.ledger.api.v2.GetPackageStatusRequest

package_idstring

com.daml.ledger.api.v2.GetPackageStatusResponse

package_statusPackageStatus

com.daml.ledger.api.v2.PackageStatus

  • PACKAGE_STATUS_UNSPECIFIED
  • PACKAGE_STATUS_REGISTERED
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.PackageService/GetPackageStatus <<'EOF'
{
  "packageId": "string"
}
EOF
OKapplication/json
OK
{
  "packageStatus": "PACKAGE_STATUS_UNSPECIFIED"
}