Class

AgentExtension

AgentExtension

Extends the VM state with functions for accessing the running agent.

Extends

Methods

# async static loadTape()

Loads a tape by the given txid and returns the tape.

View Source operate/vm/extension/agent.js, line 25

# async static loadTapesBy()

Loads a list of tapes by the given query and returns the list.

View Source operate/vm/extension/agent.js, line 33

# async static localTape()

Loads a tape of the current transaction by output index.

View Source operate/vm/extension/agent.js, line 46

# async static runTape()

Runs the given tape, and returns the result.

View Source operate/vm/extension/agent.js, line 59