Trace generation is a process of running Cairo program on given inputs and generating pie.zip
file. Pie represents exact execution of Cairo program and is necessary for proof generation.
/v1/trace-generation
programFile
programFile
parameter.
programHash
inputFile
parameter which is private input data for the Cairo program.
programHash
and programFile
at the same time.
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 supportedatlanticQueryId
to check status of that request.programFile
with programHash
at the same request.programFile
programHash