Abstract
Constructor for creating a UTXO client instance.
The blockchain chain type.
The parameters required for client initialization.
Protected
chainProtected
dataProtected
explorerProtected
feeProtected
networkProtected
phraseProtected
rootProtected
Abstract
compileAbstract
getAbstract
getAbstract
getProtected
Abstract
getAbstract method to calculate the fee from a list of UTXOs.
The list of UTXOs.
The fee rate.
Optional data buffer.
The calculated fee.
Protected
getProtected
getAbstract
prepareProtected
roundBroadcasts a transaction hex using a round-robin approach across multiple data providers.
The transaction hex to broadcast.
The hash of the broadcasted transaction.
Throws an error if no provider is able to broadcast the transaction.
Protected
roundProtected
roundProtected
roundRound-robin method to get transaction data from data providers. Throws error if no provider can get transaction data.
The transaction ID to get data for.
The transaction data.
Error If no provider is able to get transaction data.
Protected
roundRound-robin method to get transactions from data providers. Throws error if no provider can get transactions.
The parameters for fetching transactions.
The transaction history.
Error If no provider is able to get transactions.
Protected
roundRound-robin method to get unspent transactions from data providers. Throws error if no provider can get unspent transactions.
The address to get unspent transactions for.
Flag to indicate whether to get confirmed transactions only.
The unspent transactions.
Error If no provider is able to get unspent transactions.
Protected
scanUTXOsProtected
thornodeAPIGetAbstract
transferAbstract
validateGenerated using TypeDoc
Abstract base class for creating blockchain clients in the UTXO model.