Circuit Functions
Most commonly used AxiomREPL functions
witness
witness/**
* Creates a circuit variable from a number, bigint, or string.
*
* @param a - The raw circuit input.
* @returns The witness cell.
*/
witness: (a: number | bigint | string) => CircuitValue;constant
constant/**
* Creates a circuit constant from a number, bigint, or string.
*
* @param a - The raw circuit input.
* @returns The constant cell.
*/
constant: (a: number | bigint | string) => CircuitValue;log
logaddToCallback
addToCallbackLast updated