Helios API/ API Reference/ Classes/

TxChain

Helper that

Implements

Implements

Index

Constructors

constructor

new TxChain(network)

Parameters

NameType
networkNetwork

Methods

asWallet

asWallet(baseWallet): Wallet

Parameters

NameType
baseWalletWallet

Returns

Wallet

getParameters

getParameters(): Promise<NetworkParams>

Returns

Promise<NetworkParams>

Implementation of

Network.getParameters

getUtxo

getUtxo(id): Promise<TxInput>

Parameters

NameType
idTxOutputId

Returns

Promise<TxInput>

Implementation of

Network.getUtxo

getUtxos

getUtxos(addr): Promise<TxInput[]>

Parameters

NameType
addrAddress

Returns

Promise<TxInput[]>

Implementation of

Network.getUtxos

getUtxosInternal

getUtxosInternal(utxos, addrs): Promise<TxInput[]>

Parameters

NameType
utxosTxInput[]
addrsAddress[]

Returns

Promise<TxInput[]>

submitTx

submitTx(tx): Promise<TxId>

Parameters

NameType
txTx

Returns

Promise<TxId>

Implementation of

Network.submitTx