Reduce a resolved script, returning the resulting bytecode and a trace of the reduction process.
This method will return an error if provided a resolvedScript with resolution errors. To check for resolution errors, use getResolutionErrors.
the CompiledScript to reduce
the AuthenticationVirtualMachine to use for evaluations
Optional createEvaluationProgram: ((instructions) => AuthenticationProgram)
a method which accepts the compiled bytecode of an evaluation and returns the authentication program used to evaluate it
Generated using TypeDoc