VmResults
@midnight-ntwrk/onchain-runtime v0.2.2 β’ Readme | 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β
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