Create Proof (circom)

Create Proof (circom)

POST https://api.zkcloud.systems/proofs/create/circom

This endpoint allows you to generate a proof posting circom.

Headers

Name
Type
Description

Authorization

string

Authentication token.

Accept

string

The Accept request-header field can be used to specify certain media types which are acceptable for the response and versioning.

Request Body

Name
Type
Description

circom

object

circom file (multipart/form-data)

input

object

Input file (multipart/form-data)

protocol

string

Protocol type (multipart/form-data)

{
  "id":"EA6h9bxo2tlknmM-hmYh-",
  "duration": 0,
  "protocol":"PLONK",
  "status":"CREATED",
  "proofFileUrl": null,
  "startDate": null
  "endDate": null
}

Example

curl -H "Authorization: Bearer <API_TOKEN>" -F 'circom=@./circuit.circom' -F 'input=@./input.json' -F 'protocol=PLONK' http://api.zkcloud.systems/proofs/create/circom

Last updated

Was this helpful?