> ## 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.

# ValidateDar

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)

›

ValidateDar

com.digitalasset.canton.admin.participant.v30

# ValidateDar

gRPC

RPC

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

## Protocol Details

Protocol
gRPC

Service
PackageService

RPC
ValidateDar

Client stream
No

Server stream
No

## Inputs

### ValidateDarRequest

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

Client stream
No

`data`
bytes

`filename`
string

`synchronizer_id`
string

## Outputs

### ValidateDarResponse

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

Server stream
No

`main_package_id`
string

## Related Schemas

> [accordion] com.digitalasset.canton.admin.participant.v30.ValidateDarRequest
>
> `data`
> bytes
>
> `filename`
> string
>
> `synchronizer_id`
> string

> [accordion] com.digitalasset.canton.admin.participant.v30.ValidateDarResponse
>
> `main_package_id`
> 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/ValidateDar <<'EOF'
{
  "data": "BASE64_ENCODED_BYTES",
  "filename": "string",
  "synchronizerId": "string"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "mainPackageId": "string"
}
```
