Helios API/ API Reference/ Classes/
TxChain
Helper that
Implements
Implements
Index
Constructors
constructor
• new TxChain(network
)
Parameters
Name | Type |
---|---|
network | Network |
Methods
asWallet
▸ asWallet(baseWallet
): Wallet
Parameters
Name | Type |
---|---|
baseWallet | Wallet |
Returns
getParameters
▸ getParameters(): Promise
<NetworkParams
>
Returns
Promise
<NetworkParams
>
Implementation of
getUtxo
▸ getUtxo(id
): Promise
<TxInput
>
Parameters
Name | Type |
---|---|
id | TxOutputId |
Returns
Promise
<TxInput
>
Implementation of
getUtxos
▸ getUtxos(addr
): Promise
<TxInput
[]>
Parameters
Name | Type |
---|---|
addr | Address |
Returns
Promise
<TxInput
[]>
Implementation of
getUtxosInternal
▸ getUtxosInternal(utxos
, addrs
): Promise
<TxInput
[]>
Parameters
Returns
Promise
<TxInput
[]>
submitTx
▸ submitTx(tx
): Promise
<TxId
>
Parameters
Name | Type |
---|---|
tx | Tx |
Returns
Promise
<TxId
>