API reference Purchases
SP1 proof of a purchase's engine evaluation
GET/v1/engine-proofs/{id}
For a disputed purchase, an SP1 Groth16 proof that the engine's own canonicalizer and Cedar evaluation, run again in the SP1 zkVM over the purchase's stored inputs, give the evalHash both TEE legs signed, and the transaction that verified it on chain through Succinct's SP1 verifier gateway. It holds only hashes and the proof, so it needs no authentication.
Path parameters
idstringRequired
Responses
- 200The proof
- 404No dispute over this purchase, or no inputs kept to prove it
200 response
purchase_idstringRequiredstatusstringRequiredproving: the purchase is disputed and its proof is being made.proven: the proof is recorded on chain.failed: no proof was recorded within the workflow's time, retries included.One ofprovenprovingfailedcountersign_eval_hashstringRequired- The
evalHashboth TEE legs signed. countersign_digeststringRequired- The EIP-712 digest of their countersign.
proofobjectRequired