Helios API/

Building transactions

Besides compiling and generating data structures the Helios library can also be used to build transactions.

In this section we assume the Helios library has been imported in the following way:

import * as helios from "helios"


A new Tx instance acts as a transaction builder, using builder pattern methods.

const tx = new helios.Tx()