Skip to main content

@midnight/ledger v2.0.8Readme | API


@midnight/ledger v2.0.8 / VmResults

Class: VmResults

Represents the results of a VM call

Constructors

new VmResults()

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