request_challenge
Obtain a nonce and TEE key by submitting circuit and inputs to the prove endpoint, enabling the next step in zero-knowledge proof generation.
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. |