Skip to main content
Version: v0.0.0

VmResults

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / VmResults

Class: VmResults

Represents the results of a VM call

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