These endpoints provide a complete workflow for generating trace, proof and verifying the proof on L1 and L2 respectively.
/v1/l1/atlantic-query
/v1/l2/atlantic-query
/trace-generation
endpoint documentation:
programFile
: For new or modified programs, upload the compiled programFile
.programHash
: If the Cairo program is already registered, provide its unique programHash
.prover
can be customized and layout
has to be specified.
Also in all cases cairoVersion
and mockFactHash
are required.
apiKey
(string, required)programFile
)
programFile
(file - .json
, required) - A compiled Cairo program in JSON format.programHash
)
programHash
(string, required) - A unique hash representing Cairo program, which has been previously registered in program registry.inputFile
(file - .json
, optional) - Input data for Cairo program if used.cairoVersion
(string, required, default: 0
) - For now only version 0
is supportedmockFactHash
(boolean, required) - If true
the 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 usagerecursive
recursive_with_poseidon
small
dex
starknet
starknet_with_keccak
dynamic
programHash
:
programFile
: