Skip to main content

CircuitResults

@midnight-ntwrk/compact-runtime v0.14.0


@midnight-ntwrk/compact-runtime / CircuitResults

Interface: CircuitResults<PS, R>

The results of the call to a Compact circuit

Type Parameters

PS

PS = any

R

R = any

Properties

context

context: CircuitContext<PS>;

The updated context after the circuit execution, that can be used to inform further runs


gasCost

gasCost: RunningCost;

The gas consumption of the circuit execution


proofData

proofData: ProofData;

The data required to prove this circuit run


result

result: R;

The primary result, as returned from Compact