Key quorums
Signing requests with key quorums
To sign a request with a key quorum:
- Collect the private keys for a threshold of authorization keys in the key quorum. For example, if your key quorum is configured with an m-of-n authorization threshold, you must have the private keys for at least m of the authorization keys in the key quorum. For users in your key quorum, request the user key per this guide.
- Sign the request with each authorization key individually.
- Pass the signatures as a comma-delimited string in the
privy-authorization-signature
header for your requests to the Privy API.
An example request signed by a 2-of-n key quorum might look as follows
REST API
When the API receives the request, Privy validates that:
- The required number of signatures are provided.
- All signatures are valid for the request payload.
- All signatures come from authorization keys in the key quorum for the wallet.
If any validation fails, the request is rejected.