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

# GetJwks

Ledger API

›

[gRPC API](https://docs.canton.network/reference/grpc-ledger-api-reference/overview.md)

›

[v2](https://docs.canton.network/reference/grpc-ledger-api-reference/com-daml-ledger-api-v2.md)

›

GetJwks

com.daml.ledger.api.v2

# GetJwks

gRPC

[Added 3.6.1](#history-added-3-6-1)

RPC

`/com.daml.ledger.api.v2.JoseService/GetJwks`

## Protocol Details

Protocol
gRPC

Service
JoseService

RPC
GetJwks

Client stream
No

Server stream
No

## Inputs

### GetJwksRequest

Message
com.daml.ledger.api.v2.GetJwksRequest

Client stream
No

`synchronizer_id`
string

`party_id`
string

## Outputs

### GetJwksResponse

Message
com.daml.ledger.api.v2.GetJwksResponse

Server stream
No

`keys`
repeated string

## Related Schemas

> [accordion] com.daml.ledger.api.v2.GetJwksRequest
>
> `synchronizer_id`
> string
>
> `party_id`
> string

> [accordion] com.daml.ledger.api.v2.GetJwksResponse
>
> `keys`
> repeated string

## History

Added
`3.6.1`

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.daml.ledger.api.v2.JoseService/GetJwks <<'EOF'
{
  "synchronizerId": "string",
  "partyId": "string"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "keys": [
    "string"
  ]
}
```
