Skip to main content

Transcript

@midnight-ntwrk/onchain-runtime v2.0.1


@midnight-ntwrk/onchain-runtime / Transcript

Type Alias: Transcript<R>

type Transcript<R>: {
effects: Effects;
gas: RunningCost;
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: RunningCost;

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

program

program: Op<R>[];

The sequence of operations that this transcript captured