> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# GetPackageReferences

Participant Administration

›

[Protobuf](https://docs.canton.network/reference/admin-api/protobuf/overview.md)

›

[com.digitalasset.canton.admin.participant.v30](https://docs.canton.network/reference/admin-api/protobuf/packages/com-digitalasset-canton-admin-participant-v30.md)

›

GetPackageReferences

com.digitalasset.canton.admin.participant.v30

# GetPackageReferences

gRPC

RPC

`/com.digitalasset.canton.admin.participant.v30.PackageService/GetPackageReferences`

## Protocol Details

Protocol
gRPC

Service
PackageService

RPC
GetPackageReferences

Client stream
No

Server stream
No

## Inputs

### GetPackageReferencesRequest

Message
com.digitalasset.canton.admin.participant.v30.GetPackageReferencesRequest

Client stream
No

`package_id`
string

## Outputs

### GetPackageReferencesResponse

Message
com.digitalasset.canton.admin.participant.v30.GetPackageReferencesResponse

Server stream
No

`dars`
repeated DarDescription

## Related Schemas

> [accordion] com.digitalasset.canton.admin.participant.v30.GetPackageReferencesRequest
>
> `package_id`
> string

> [accordion] com.digitalasset.canton.admin.participant.v30.GetPackageReferencesResponse
>
> `dars`
> repeated DarDescription

> [accordion] com.digitalasset.canton.admin.participant.v30.DarDescription
>
> `main`
> string
>
> `name`
> string
>
> `version`
> string
>
> `description`
> string

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.admin.participant.v30.PackageService/GetPackageReferences <<'EOF'
{
  "packageId": "string"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "dars": [
    {
      "main": "string",
      "name": "string",
      "version": "string",
      "description": "string"
    }
  ]
}
```
