CallResultPrivate
Midnight.js API Reference v3.1.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / CallResultPrivate
Type Alias: CallResultPrivate<C, ICK>
CallResultPrivate<
C,ICK> =object
The private (sensitive) portions of the call result.
Type Parameters
C
C extends Contract.Any
ICK
ICK extends Contract.ImpureCircuitId<C>
Properties
input
readonlyinput:AlignedValue
ZK representation of the circuit arguments.
nextPrivateState
readonlynextPrivateState:Contract.PrivateState<C>
The private state resulting from executing the circuit.
nextZswapLocalState
readonlynextZswapLocalState:ZswapLocalState
The Zswap local state resulting from executing the circuit.
output
readonlyoutput:AlignedValue
ZK representation of the circuit result.
privateTranscriptOutputs
readonlyprivateTranscriptOutputs:AlignedValue[]
ZK representation of the circuit witness call results.
result
readonlyresult:Contract.CircuitReturnType<C,ICK>
The JS representation of the input to the circuit.