Skip to main content

Execution

Overview

Execution of an Aleo program. This class represents the execution state and proof of a program run on the Aleo network, providing access to execution details like global state root, proof, and transitions.

Methods

toString

Returns the string representation of the execution

toString() ► string
ParamType
returnstring

fromString

Creates an execution object from a string representation of an execution

fromString(execution)Execution
ParamType
executionstring
returnExecution

globalStateRoot

Returns the global state root of the execution

globalStateRoot()Execution
ParamType
returnExecution

proof

Returns the proof of the execution

proof() ► string
ParamType
returnstring

transitions

Returns the transitions present in the execution

transitions()
ParamType
returnundefined