Building transactions
Besides compiling and generating data structures the Helios library can also be used to build transactions.
Transaction building using Helios is more low-level than alternatives (eg. Lucid) as the Helios library is agnostic wrt. the query-layer, the wallet-connector, and the http api.
In this section we assume the Helios library has been imported in the following way:
import * as helios from "helios"
Tx
A new Tx
instance acts as a transaction builder, using builder pattern methods.
const tx = new helios.Tx()