request_challenge
Request a cryptographic challenge from the server to generate zero-knowledge proofs for identity verification without exposing personal data.
Instructions
Step 2 of the step-by-step flow (after prepare_inputs): Request a challenge from the server. Sends circuit + inputs to POST /api/v1/prove. Server returns nonce and TEE key information. You MUST call prepare_inputs first to get the inputs parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit | Yes | Which circuit to use | |
| inputs | Yes | Full ProveInputs object from prepare_inputs. Accepts a JSON string or a structured object. |