Protected
chainProtected
dataProtected
explorerProtected
feeProtected
networkProtected
phraseProtected
rootProtected
compileThe index of the address.
The Bitcoin address.
This function eventually will be removed. Use getAddressAsync instead. Get the address associated with the given index.
Thrown if the index is less than zero.
Thrown if the phrase has not been set before.
Thrown if failed to create the address from the phrase.
Private
getPrivate
Get the Bitcoin keys derived from the given phrase.
The phrase to be used for generating the keys.
The index of the address.
The Bitcoin key pair.
Thrown if failed to create BTC keys from the given phrase.
Protected
getProtected
getProtected
getProtected
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
Custom Bitcoin client extended to support keystore functionality