@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.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