Skip to main content

Transcript

For the complete documentation index, see llms.txt

@midnight-ntwrk/ledger v3.0.2 • Readme | API


@midnight-ntwrk/ledger v3.0.2 / Transcript

Type alias: Transcript<R>

type Transcript<R>: {
effects: Effects;
gas: bigint;
program: Op<R>[];
};

A transcript of operations, to be recorded in a transaction

Type parameters​

• R

Type declaration​

effects​

effects: Effects;

The effects of the transcript, which are checked before execution, and must match those constructed by program

gas​

gas: bigint;

The execution budget for this transcript, which program must not exceed

program​

program: Op<R>[];

The sequence of operations that this transcript captured