@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / CircuitContext
Interface: CircuitContext<T>
The external information accessible from within a Compact circuit call
Type parameters
• T
Properties
currentPrivateState
currentPrivateState: T;
The current private state for the contract.
currentZswapLocalState
currentZswapLocalState: EncodedZswapLocalState;
The current Zswap local state. Tracks inputs and outputs produced during circuit execution.
originalState
originalState: ContractState;
The original contract state the circuit call was started at.
transactionContext
transactionContext: QueryContext;
The current on-chain context the transaction is evolving.