Skip to main content

@midnight-ntwrk/onchain-runtime v0.1.14Readme | API


@midnight-ntwrk/onchain-runtime v0.1.14 / 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