/v1/l2/atlantic-query/proof-generation-verification
/proof-generation and /l2/atlantic-query/proof-verification endpoints. It generates a proof and verifies it on L2 using Integrity verifier.
How to use?
Submit thepie.zip file along with the chosen layout and prover settings. The endpoint also offers an option to mock the fact hash, which bypasses actual verification on chain. It is useful for testing purposes.
Sending request
- Query Parameters
apiKey(string, required)
- Request Body
pieFile(file -.zip, required) -pie.zipgenerated e.g. usingcairo-runor with/trace-generationendpoint (but in that case you should probably send/l2/atlantic-queryinstead)mockFactHash(boolean, required) - Iftruethe fact hash will be mocked, bypassing actual verification for testing purposes.prover(string, required, default:starkware_sharp) - Prover to be used. If you want to use our stone instance - contact us.layout(string, required, default:auto) - Cairo layout of your program. Available layouts are:auto- automatically detect layout based on builtins usagerecursiverecursive_with_poseidonsmalldexstarknetstarknet_with_keccakdynamic
Responses
- Success (201 created)
- Error responses
- 400 Bad Request - Indicates that parameters are invalid such as providing programFile with programHash at the same request
- 500 Internal Server Error - This says error is on our side.

