request_challenge
Sends circuit and prepared inputs to the proving server to obtain a nonce and TEE key information, initiating the zero-knowledge proof generation process.
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 |
|---|---|---|---|
| inputs | Yes | Full ProveInputs object from prepare_inputs. Accepts a JSON string or a structured object. | |
| circuit | Yes | Which circuit to use |