c

org.bitcoins.core.wallet.builder

SubtractFromOutputFinalizer

case class SubtractFromOutputFinalizer(spk: ScriptPubKey, subAmt: CurrencyUnit) extends RawTxFinalizer with Product with Serializable

Subtracts the given fee from the output with the given ScriptPubKey. This can be useful if you are constructing a transaction without considering fees and have some after-the-fact external formula for computing fees and they need the removed.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubtractFromOutputFinalizer
  2. Serializable
  3. Product
  4. Equals
  5. RawTxFinalizer
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubtractFromOutputFinalizer(spk: ScriptPubKey, subAmt: CurrencyUnit)

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. def andThen(other: RawTxFinalizer): RawTxFinalizer

    The result of buildTx is converted into a RawTxBuilderResult by taking that transactions inputs (in order), outputs (in order), locktime and version and this RawTxBuilderResult is then passed to the other RawTxFinalizer's buildTx

    The result of buildTx is converted into a RawTxBuilderResult by taking that transactions inputs (in order), outputs (in order), locktime and version and this RawTxBuilderResult is then passed to the other RawTxFinalizer's buildTx

    Definition Classes
    RawTxFinalizer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildTx(txBuilderResult: RawTxBuilderResult): Transaction

    Constructs a finalized (unsigned) transaction

    Constructs a finalized (unsigned) transaction

    Definition Classes
    SubtractFromOutputFinalizerRawTxFinalizer
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. val spk: ScriptPubKey
  17. val subAmt: CurrencyUnit
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  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 Serializable

Inherited from Product

Inherited from Equals

Inherited from RawTxFinalizer

Inherited from AnyRef

Inherited from Any

Ungrouped