CallResult
For the complete documentation index, see llms.txt
Midnight.js API Reference v4.1.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / CallResult
Type Alias: CallResult<C, PCK>
CallResult<
C,PCK> =object
Contains all information resulting from circuit execution.
Remarks
Privacy-sensitive type. The private field is a
CallResultPrivate carrying ZK-confidential data. Treat the whole
object as confidential when logging, serializing, or transmitting: read
only the public field or destructure specific non-sensitive fields rather
than spreading or stringifying the whole object.
Type Parameters
C
C extends Contract.Any
PCK
PCK extends Contract.ProvableCircuitId<C>
Properties
private
readonlyprivate:CallResultPrivate<C,PCK>
The private/sensitive data produced by the circuit execution.
public
readonlypublic:CallResultPublic
The public/non-sensitive data produced by the circuit execution.