CallResultPrivate
Midnight.js API Reference v2.0.2
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
ICKβ
ICK extends ImpureCircuitId<C>
Propertiesβ
inputβ
readonlyinput:AlignedValue
ZK representation of the circuit arguments.
nextPrivateStateβ
readonlynextPrivateState: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:CircuitReturnType<C,ICK>
The JS representation of the input to the circuit.