@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / ZswapLocalState
Interface: ZswapLocalState
Tracks the coins consumed and produced throughout circuit execution.
Properties
coinPublicKey
coinPublicKey: string;
The Zswap coin public key of the user executing the circuit.
currentIndex
currentIndex: bigint;
The Merkle tree index of the next coin produced.
inputs
inputs: QualifiedCoinInfo[];
The coins consumed as inputs to the circuit.
outputs
outputs: {
coinInfo: CoinInfo;
recipient: Recipient;
}[];
The coins produced as outputs from the circuit.