t

org.bitcoins.core.api.wallet

UtxoHandlingApi

trait UtxoHandlingApi extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UtxoHandlingApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def clearAllAddresses(): Future[Unit]
  2. abstract def clearAllUtxos(): Future[Unit]

    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

  3. abstract def findByOutPoints(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]
  4. abstract def findByScriptPubKey(scriptPubKey: ScriptPubKey): Future[Vector[SpendingInfoDb]]
  5. abstract def findOutputsBeingSpent(tx: Transaction): Future[Vector[SpendingInfoDb]]

    Finds all the outputs in our wallet being spent in the given transaction

  6. abstract def getBalance(account: HDAccount): Future[CurrencyUnit]
  7. abstract def getBalance(): Future[CurrencyUnit]

    Get total wallet balance for the default HD account

  8. abstract def getConfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
  9. abstract def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]
  10. abstract def getConfirmedBalance(): Future[CurrencyUnit]

    Get total confirmed wallet balance for the default HD account

  11. abstract def getUnconfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
  12. abstract def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]
  13. abstract def getUnconfirmedBalance(): Future[CurrencyUnit]

    Get total unconfirmed wallet balance for the default HD account

  14. abstract def getUtxos(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]
  15. abstract def getUtxos(hdAccount: HDAccount, state: TxoState): Future[Vector[SpendingInfoDb]]
  16. abstract def getUtxos(hdAccount: HDAccount, tag: AddressTag): Future[Vector[SpendingInfoDb]]
  17. abstract def getUtxos(account: HDAccount): Future[Vector[SpendingInfoDb]]
  18. abstract def getUtxos(state: TxoState): Future[Vector[SpendingInfoDb]]
  19. abstract def getUtxos(tag: AddressTag): Future[Vector[SpendingInfoDb]]
  20. abstract def getUtxos(): Future[Vector[SpendingInfoDb]]

    Lists unspent transaction outputs in the wallet

    Lists unspent transaction outputs in the wallet

    returns

    Vector[SpendingInfoDb]

  21. abstract def markUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]

    Marks all utxos that are ours in this transactions as reserved

  22. abstract def markUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
  23. abstract def unmarkUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]

    Unmarks all utxos that are ours in this transactions indicating they are no longer reserved

  24. abstract def unmarkUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
  25. abstract def updateUtxoPendingStates(): Future[Vector[SpendingInfoDb]]

    Takes in a block header and updates our TxoStates to the new chain tip

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def findByOutPoint(outPoint: TransactionOutPoint)(implicit ec: ExecutionContext): Future[Option[SpendingInfoDb]]
  10. final def getBalance(tag: AddressTag)(implicit ec: ExecutionContext): Future[CurrencyUnit]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped