Skip to main content

PreTranscript

@midnight/ledger v7.0.0


@midnight/ledger / 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

Constructor

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