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

# InspectCommitmentContracts

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)

›

InspectCommitmentContracts

com.digitalasset.canton.admin.participant.v30

# InspectCommitmentContracts

gRPC

RPC

`/com.digitalasset.canton.admin.participant.v30.ParticipantInspectionService/InspectCommitmentContracts`

## Protocol Details

Protocol
gRPC

Service
ParticipantInspectionService

RPC
InspectCommitmentContracts

Client stream
No

Server stream
Yes

## Inputs

### InspectCommitmentContractsRequest

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

Client stream
No

`cids`
repeated bytes

`expected_synchronizer_id`
string

`timestamp`
Timestamp

`download_payload`
bool

## Outputs

### InspectCommitmentContractsResponse

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

Server stream
Yes

`chunk`
bytes

## Related Schemas

> [accordion] com.digitalasset.canton.admin.participant.v30.InspectCommitmentContractsRequest
>
> `cids`
> repeated bytes
>
> `expected_synchronizer_id`
> string
>
> `timestamp`
> Timestamp
>
> `download_payload`
> bool

> [accordion] com.digitalasset.canton.admin.participant.v30.InspectCommitmentContractsResponse
>
> `chunk`
> bytes

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
# This RPC uses streaming semantics. Send additional JSON messages on stdin as needed.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.admin.participant.v30.ParticipantInspectionService/InspectCommitmentContracts <<'EOF'
{
  "cids": [
    "BASE64_ENCODED_BYTES"
  ],
  "expectedSynchronizerId": "string",
  "timestamp": "string",
  "downloadPayload": true
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "chunk": "BASE64_ENCODED_BYTES"
}
```
