Protected
chainProtected
dataProtected
explorerProtected
feeProtected
networkPrivate
Optional
Readonly
nodePrivate
Readonly
nodeProtected
phraseProtected
rootProtected
compileGet the DASH address corresponding to the given index.
The index of the address.
The DASH address.
This function will be removed eventually. Use getAddressAsync instead.
Thrown if index is less than zero.
Thrown if phrase is not provided.
Thrown if address is not defined.
Get the private and public keys for DASH.
The phrase used to derive keys.
The index for key derivation.
The DASH ECPairInterface object.
Thrown if private key cannot be obtained from the phrase.
Protected
getCalculates the transaction fee based on the provided UTXOs, fee rate, and optional compiled memo.
The UTXOs used as inputs for the transaction.
The fee rate for the transaction.
The compiled memo as a buffer (optional).
The calculated transaction fee amount.
Protected
getProtected
getPrivate
insightProtected
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
thornodeAPIGetGenerated using TypeDoc
DASH client class extending UTXOClient.