trait NeutrinoHDWalletApi extends HDWalletApi with NeutrinoWalletApi
An HDWallet that uses Neutrino to sync
- Alphabetic
- By Inheritance
- NeutrinoHDWalletApi
- NeutrinoWalletApi
- HDWalletApi
- WalletApi
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def bumpFeeCPFP(txId: DoubleSha256DigestBE, feeRate: FeeUnit): Future[Transaction]
Bumps the fee of the parent transaction with a new child transaction with the given fee rate
Bumps the fee of the parent transaction with a new child transaction with the given fee rate
- Definition Classes
- WalletApi
- abstract def bumpFeeRBF(txId: DoubleSha256DigestBE, newFeeRate: FeeUnit): Future[Transaction]
- Definition Classes
- WalletApi
- abstract val chainQueryApi: ChainQueryApi
- Definition Classes
- WalletApi
- abstract def clearAllAddresses(): Future[WalletApi]
- Definition Classes
- WalletApi
- abstract def clearAllUtxos(): Future[HDWalletApi]
Removes all utxos from the wallet.
Removes all utxos from the wallet. Don't call this unless you are sure you can recover your wallet
- Definition Classes
- HDWalletApi → WalletApi
- abstract def clearUtxos(account: HDAccount): Future[HDWalletApi]
- Definition Classes
- HDWalletApi
- abstract def createNewAccount(hdAccount: HDAccount, keyManagerParams: KeyManagerParams): Future[HDWalletApi]
Tries to create a new account in this wallet.
Tries to create a new account in this wallet. Fails if the most recent account has no transaction history, as per BIP44
- Definition Classes
- HDWalletApi
- See also
- abstract def createNewAccount(keyManagerParams: KeyManagerParams): Future[HDWalletApi]
- Definition Classes
- HDWalletApi
- abstract val creationTime: Instant
- Definition Classes
- WalletApi
- abstract def discoveryBatchSize(): Int
- Definition Classes
- NeutrinoWalletApi
- abstract def dropAddressTag(addressTagDb: AddressTagDb): Future[Int]
- Definition Classes
- WalletApi
- abstract def dropAddressTagName(address: BitcoinAddress, tagName: AddressTagName): Future[Int]
- Definition Classes
- WalletApi
- abstract def dropAddressTagType(address: BitcoinAddress, addressTagType: AddressTagType): Future[Int]
- Definition Classes
- WalletApi
- abstract def dropAddressTagType(addressTagType: AddressTagType): Future[Int]
- Definition Classes
- WalletApi
- abstract val feeRateApi: FeeRateApi
- Definition Classes
- WalletApi
- abstract def findAccount(account: HDAccount): Future[Option[AccountDb]]
- Definition Classes
- HDWalletApi
- abstract def findByOutPoints(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract def findByScriptPubKey(scriptPubKey: ScriptPubKey): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract def findByTxIds(txIds: Vector[DoubleSha256DigestBE]): Future[Vector[TransactionDb]]
- Definition Classes
- WalletApi
- abstract def findOutputsBeingSpent(tx: Transaction): Future[Vector[SpendingInfoDb]]
Finds all the outputs in our wallet being spent in the given transaction
Finds all the outputs in our wallet being spent in the given transaction
- Definition Classes
- WalletApi
- abstract def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
- Definition Classes
- WalletApi
- abstract def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb, markAsReserved: Boolean): Future[FundRawTxHelper[ShufflingNonInteractiveFinalizer]]
- Definition Classes
- HDWalletApi
- abstract def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromTagOpt: Option[AddressTag], markAsReserved: Boolean): Future[FundRawTxHelper[ShufflingNonInteractiveFinalizer]]
Funds a transaction from the wallet.
Funds a transaction from the wallet.
- returns
funded transaction send funds to desinations with the given fee rate
- Definition Classes
- WalletApi
- abstract def getAddress(account: AccountDb, chainType: HDChainType, addressIndex: Int): Future[AddressDb]
Gets the address associated with the pubkey at the resulting
BIP32Path
determined the given account, chainType, and addressIndexGets the address associated with the pubkey at the resulting
BIP32Path
determined the given account, chainType, and addressIndex- Definition Classes
- HDWalletApi
- abstract def getAddressInfo(address: BitcoinAddress): Future[Option[AddressInfo]]
Mimics the
getaddressinfo
RPC call in Bitcoin CoreMimics the
getaddressinfo
RPC call in Bitcoin Core- returns
If the address is found in our database
Some(address)
is returned, otherwiseNone
- Definition Classes
- WalletApi
- abstract def getAddressTags(tagType: AddressTagType): Future[Vector[AddressTagDb]]
- Definition Classes
- WalletApi
- abstract def getAddressTags(): Future[Vector[AddressTagDb]]
- Definition Classes
- WalletApi
- abstract def getAddressTags(address: BitcoinAddress, tagType: AddressTagType): Future[Vector[AddressTagDb]]
- Definition Classes
- WalletApi
- abstract def getAddressTags(address: BitcoinAddress): Future[Vector[AddressTagDb]]
- Definition Classes
- WalletApi
- abstract def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]
- Definition Classes
- HDWalletApi
- abstract def getConfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
- Definition Classes
- WalletApi
- abstract def getConfirmedBalance(): Future[CurrencyUnit]
Gets the sum of all confirmed UTXOs in this wallet
Gets the sum of all confirmed UTXOs in this wallet
- Definition Classes
- WalletApi
- abstract def getDefaultAccount(): Future[AccountDb]
Fetches the default account from the DB
- abstract def getDefaultAccountForType(addressType: AddressType): Future[AccountDb]
Fetches the default account for the given address/account kind
Fetches the default account for the given address/account kind
- Definition Classes
- HDWalletApi
- abstract def getInfo(): Future[WalletInfo]
- Definition Classes
- WalletApi
- abstract def getNewAddress(account: AccountDb): Future[BitcoinAddress]
- Definition Classes
- HDWalletApi
- abstract def getNewAddress(account: HDAccount): Future[BitcoinAddress]
- Definition Classes
- HDWalletApi
- abstract def getNewAddress(tags: Vector[AddressTag]): Future[BitcoinAddress]
- Definition Classes
- WalletApi
- abstract def getNewAddress(addressType: AddressType, tags: Vector[AddressTag]): Future[BitcoinAddress]
- Definition Classes
- WalletApi
- abstract def getNewAddress(): Future[BitcoinAddress]
Gets a new external address Calling this method multiple times will return the same address, until it has received funds.
Gets a new external address Calling this method multiple times will return the same address, until it has received funds.
- Definition Classes
- WalletApi
- abstract def getNewAddress(addressType: AddressType): Future[BitcoinAddress]
Gets a new external address with the specified type.
Gets a new external address with the specified type.
- Definition Classes
- WalletApi
- abstract def getNewChangeAddress(account: AccountDb): Future[BitcoinAddress]
Generates a new change address
Generates a new change address
- Definition Classes
- HDWalletApi
- abstract def getSyncDescriptorOpt(): Future[Option[SyncHeightDescriptor]]
- Definition Classes
- WalletApi
- abstract def getSyncState(): Future[BlockSyncState]
- Definition Classes
- WalletApi
- abstract def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]
- Definition Classes
- HDWalletApi
- abstract def getUnconfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
- Definition Classes
- WalletApi
- abstract def getUnconfirmedBalance(): Future[CurrencyUnit]
Gets the sum of all unconfirmed UTXOs in this wallet
Gets the sum of all unconfirmed UTXOs in this wallet
- Definition Classes
- WalletApi
- abstract def getUnusedAddress: Future[BitcoinAddress]
Gets a external address.
Gets a external address. Calling this method multiple times will return the same address, until it has received funds.
- Definition Classes
- WalletApi
- abstract def getUnusedAddress(addressType: AddressType): Future[BitcoinAddress]
Gets a external address the given AddressType.
Gets a external address the given AddressType. Calling this method multiple times will return the same address, until it has received funds.
- Definition Classes
- WalletApi
- abstract def getWalletName(): Future[String]
- Definition Classes
- WalletApi
- abstract def isChange(output: TransactionOutput): Future[Boolean]
Determines if the given output is from this wallet and is a change output from this wallet
Determines if the given output is from this wallet and is a change output from this wallet
- Definition Classes
- WalletApi
- abstract def isEmpty(): Future[Boolean]
Checks if the wallet contains any data
Checks if the wallet contains any data
- Definition Classes
- WalletApi
- abstract def isRescanning(): Future[Boolean]
- Definition Classes
- WalletApi
- abstract def keyManager: BIP39KeyManagerApi
- Definition Classes
- HDWalletApi → WalletApi
- abstract def listAccounts(): Future[Vector[AccountDb]]
- Definition Classes
- HDWalletApi
- abstract def listAddresses(account: HDAccount): Future[Vector[AddressDb]]
- Definition Classes
- HDWalletApi
- abstract def listAddresses(): Future[Vector[AddressDb]]
- Definition Classes
- WalletApi
- abstract def listDefaultAccountUtxos(): Future[Vector[SpendingInfoDb]]
- Definition Classes
- HDWalletApi
- abstract def listFundedAddresses(account: HDAccount): Future[Vector[(AddressDb, CurrencyUnit)]]
- Definition Classes
- HDWalletApi
- abstract def listFundedAddresses(): Future[Vector[(AddressDb, CurrencyUnit)]]
- Definition Classes
- WalletApi
- abstract def listScriptPubKeys(): Future[Vector[ScriptPubKeyDb]]
- Definition Classes
- WalletApi
- abstract def listSpentAddresses(account: HDAccount): Future[Vector[AddressDb]]
- Definition Classes
- HDWalletApi
- abstract def listSpentAddresses(): Future[Vector[AddressDb]]
- Definition Classes
- WalletApi
- abstract def listTransactions(): Future[Vector[TransactionDb]]
- Definition Classes
- WalletApi
- abstract def listUnusedAddresses(account: HDAccount): Future[Vector[AddressDb]]
- Definition Classes
- HDWalletApi
- abstract def listUnusedAddresses(): Future[Vector[AddressDb]]
- Definition Classes
- WalletApi
- abstract def listUtxos(hdAccount: HDAccount, state: TxoState): Future[Vector[SpendingInfoDb]]
- Definition Classes
- HDWalletApi
- abstract def listUtxos(hdAccount: HDAccount, tag: AddressTag): Future[Vector[SpendingInfoDb]]
- Definition Classes
- HDWalletApi
- abstract def listUtxos(account: HDAccount): Future[Vector[SpendingInfoDb]]
- Definition Classes
- HDWalletApi
- abstract def listUtxos(state: TxoState): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract def listUtxos(tag: AddressTag): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract def listUtxos(): Future[Vector[SpendingInfoDb]]
Lists unspent transaction outputs in the wallet
Lists unspent transaction outputs in the wallet
- returns
Vector[SpendingInfoDb]
- Definition Classes
- WalletApi
- abstract def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- abstract def markUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]
Marks all utxos that are ours in this transactions as reserved
Marks all utxos that are ours in this transactions as reserved
- Definition Classes
- WalletApi
- abstract def markUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract val nodeApi: NodeApi
- Definition Classes
- WalletApi
- abstract def processBlock(block: Block): Future[WalletApi]
Processes the give block, updating our DB state if it's relevant to us.
Processes the give block, updating our DB state if it's relevant to us.
- block
The block we're processing
- Definition Classes
- WalletApi
- abstract def processCompactFilters(blockFilters: Vector[(DoubleSha256DigestBE, GolombFilter)]): Future[NeutrinoHDWalletApi]
- Definition Classes
- NeutrinoWalletApi
- abstract def processOurTransaction(transaction: Transaction, feeRate: FeeUnit, inputAmount: CurrencyUnit, sentAmount: CurrencyUnit, blockHashOpt: Option[DoubleSha256DigestBE], newTags: Vector[AddressTag]): Future[ProcessTxResult]
Processes TXs originating from our wallet.
Processes TXs originating from our wallet. This is called right after we've signed a TX, updating our UTXO state.
- Definition Classes
- WalletApi
- abstract def processTransaction(transaction: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[WalletApi]
Processes the given transaction, updating our DB state if it's relevant to us.
Processes the given transaction, updating our DB state if it's relevant to us.
- transaction
The transaction we're processing
- Definition Classes
- WalletApi
- abstract def rescanNeutrinoWallet(startOpt: Option[BlockStamp], endOpt: Option[BlockStamp], addressBatchSize: Int, useCreationTime: Boolean, force: Boolean)(implicit ec: ExecutionContext): Future[RescanState]
Recreates the account using BIP-157 approach
Recreates the account using BIP-157 approach
DANGER! This method removes all records from the wallet database and creates new ones while the account discovery process.
The Wallet UI should check if the database is empty before calling this method and let the end users to decide whether they want to proceed or not.
This method generates addressBatchSize of addresses, then matches them against the BIP-158 compact filters, and downloads and processes the matched blocks. This method keeps doing the steps until there are WalletConfig.addressGapLimit or more unused addresses in a row. In this case it considers the discovery process completed.
addressBatchSize - the number of addresses we should generate from a keychain to attempt to match in in a rescan WalletConfig.addressGapLimit - the number of addresses required to go without a match before we determine that our wallet is "discovered". For instance, if addressBatchSize=100, and AddressGapLimit=20 we do a rescan and the last address we find containing funds is at index 75, we would not generate more addresses to try and rescan. However if the last index containing funds was 81, we would generate another 100 addresses from the keychain and attempt to rescan those.
- startOpt
start block (if None it starts from the genesis block)
- endOpt
end block (if None it ends at the current tip)
- addressBatchSize
how many addresses to match in a single pass
- Definition Classes
- NeutrinoWalletApi
- abstract def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
Sends money from the specified account
Sends money from the specified account
todo: add error handling to signature
- Definition Classes
- HDWalletApi
- abstract def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- WalletApi
- abstract def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
Sends money from the specified account
Sends money from the specified account
todo: add error handling to signature
- Definition Classes
- HDWalletApi
- abstract def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
Sends money from the specified account
Sends money from the specified account
todo: add error handling to signature
- Definition Classes
- HDWalletApi
- abstract def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
Sends money from the specified account
Sends money from the specified account
todo: add error handling to signature
- Definition Classes
- HDWalletApi
- abstract def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- abstract def signPSBT(psbt: PSBT)(implicit ec: ExecutionContext): Future[PSBT]
- Definition Classes
- HDWalletApi
- abstract def start(): Future[WalletApi]
- abstract def stop(): Future[WalletApi]
- abstract def sweepWallet(address: BitcoinAddress, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
Sends the entire wallet balance to the given address
Sends the entire wallet balance to the given address
- Definition Classes
- WalletApi
- abstract def tagAddress(address: BitcoinAddress, tag: AddressTag): Future[AddressTagDb]
Tags the address with the address tag, updates the tag if one of tag's TagType already exists
Tags the address with the address tag, updates the tag if one of tag's TagType already exists
- Definition Classes
- WalletApi
- abstract def unmarkUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]
Unmarks all utxos that are ours in this transactions indicating they are no longer reserved
Unmarks all utxos that are ours in this transactions indicating they are no longer reserved
- Definition Classes
- WalletApi
- abstract def unmarkUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- WalletApi
- abstract def updateUtxoPendingStates(): Future[Vector[SpendingInfoDb]]
Takes in a block header and updates our TxoStates to the new chain tip
Takes in a block header and updates our TxoStates to the new chain tip
- Definition Classes
- WalletApi
- abstract def watchScriptPubKey(scriptPubKey: ScriptPubKey): Future[ScriptPubKeyDb]
- Definition Classes
- WalletApi
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def broadcastTransaction(transaction: Transaction): Future[Unit]
- Definition Classes
- WalletApi
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def determineFeeRate(feeRateOpt: Option[FeeUnit]): Future[FeeUnit]
- Attributes
- protected
- Definition Classes
- WalletApi
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findByOutPoint(outPoint: TransactionOutPoint)(implicit ec: ExecutionContext): Future[Option[SpendingInfoDb]]
- Definition Classes
- WalletApi
- def findByTxId(txId: DoubleSha256Digest)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
- Definition Classes
- WalletApi
- def findByTxId(txId: DoubleSha256DigestBE)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
- Definition Classes
- WalletApi
- def fullRescanNeutrinoWallet(addressBatchSize: Int, force: Boolean = false)(implicit ec: ExecutionContext): Future[RescanState]
Helper method to rescan the ENTIRE blockchain.
Helper method to rescan the ENTIRE blockchain.
- Definition Classes
- NeutrinoWalletApi
- def getAddress(chainType: HDChainType, addressIndex: Int)(implicit ec: ExecutionContext): Future[AddressDb]
Gets the address associated with the pubkey at the resulting
BIP32Path
determined by the default account and the given chainType and addressIndexGets the address associated with the pubkey at the resulting
BIP32Path
determined by the default account and the given chainType and addressIndex- Definition Classes
- HDWalletApi
- def getAddressInfo(spendingInfoDb: SpendingInfoDb, networkParameters: NetworkParameters): Future[Option[AddressInfo]]
- Definition Classes
- WalletApi
- def getBalance(account: HDAccount)(implicit ec: ExecutionContext): Future[CurrencyUnit]
Gets the balance of the given account
Gets the balance of the given account
- Definition Classes
- HDWalletApi
- def getBalance(tag: AddressTag)(implicit ec: ExecutionContext): Future[CurrencyUnit]
Gets the sum of all UTXOs in this wallet with the address tag
Gets the sum of all UTXOs in this wallet with the address tag
- Definition Classes
- WalletApi
- def getBalance()(implicit ec: ExecutionContext): Future[CurrencyUnit]
Gets the sum of all UTXOs in this wallet
Gets the sum of all UTXOs in this wallet
- Definition Classes
- WalletApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFeeRate(): Future[FeeUnit]
- Definition Classes
- WalletApi
- def getNewChangeAddress()(implicit ec: ExecutionContext): Future[BitcoinAddress]
Generates a new change address
Generates a new change address
- Definition Classes
- HDWalletApi → WalletApi
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listAccounts(purpose: HDPurpose)(implicit ec: ExecutionContext): Future[Vector[AccountDb]]
Lists all wallet accounts with the given type
Lists all wallet accounts with the given type
- returns
Future[Vector[AccountDb
- Definition Classes
- HDWalletApi
- def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- WalletApi
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def processCompactFilter(blockHash: DoubleSha256DigestBE, blockFilter: GolombFilter): Future[NeutrinoHDWalletApi]
- Definition Classes
- NeutrinoWalletApi
- def processTransactions(transactions: Vector[Transaction], blockHashOpt: Option[DoubleSha256DigestBE])(implicit ec: ExecutionContext): Future[WalletApi]
- Definition Classes
- WalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- WalletApi
- def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
Sends money to the address
Sends money to the address
todo: add error handling to signature
- Definition Classes
- HDWalletApi → WalletApi
- def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
Sends funds to each address
Sends funds to each address
- Definition Classes
- HDWalletApi → WalletApi
- def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendToOutputs(outputs: Vector[TransactionOutput], feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
Sends funds using the specified outputs
Sends funds using the specified outputs
todo: add error handling to signature
- Definition Classes
- HDWalletApi → WalletApi
- def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToOutputs(outputs: Vector[TransactionOutput], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi → WalletApi
- def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
- Definition Classes
- HDWalletApi
- def sweepWallet(address: BitcoinAddress, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
Sends the entire wallet balance to the given address
Sends the entire wallet balance to the given address
- Definition Classes
- WalletApi
- def sweepWallet(address: BitcoinAddress)(implicit ec: ExecutionContext): Future[Transaction]
Sends the entire wallet balance to the given address
Sends the entire wallet balance to the given address
- Definition Classes
- WalletApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()