Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / CallResultPublic

Type alias: CallResultPublic

CallResultPublic: Object

The public portions of the call result.

Type declaration

nextContractState

readonly nextContractState: StateValue

The public state resulting from executing the circuit.

partitionedTranscript

readonly partitionedTranscript: PartitionedTranscript

A publicTranscript partitioned into guaranteed and fallible sections. The guaranteed section of a public transcript must succeed for the corresponding transaction to be considered valid. The fallible section of a public transcript can fail without invalidating the transaction, as long as the guaranteed section succeeds.

publicTranscript

readonly publicTranscript: Op<AlignedValue>[]

The public transcript resulting from executing the circuit.