Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/ledger v3.0.2 / PreTranscript

Class: PreTranscript

A transcript prior to partitioning, consisting of the context to run it in, the program that will make up the transcript, and optionally a communication commitment to bind calls together.

Constructors

new PreTranscript(context, program, comm_comm)

new PreTranscript(
context,
program,
comm_comm?): PreTranscript

Parameters

context: QueryContext

program: Op<AlignedValue>[]

comm_comm?: string

Returns

PreTranscript

Methods

toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string