Skip to main content

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


@midnight-ntwrk/onchain-runtime v0.2.2 / VmResults

Class: VmResults

Represents the results of a VM call

Constructors

new VmResults()

private new VmResults(): VmResults

Returns

VmResults

Properties

events

readonly events: GatherResult[];

The events that got emitted by this VM invocation


gasCost

readonly gasCost: bigint;

The computed gas cost of running this VM invocation


stack

readonly stack: VmStack;

The VM stack at the end of the VM invocation

Methods

toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string