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.
- Alphabetic
- By Inheritance
- SubtractFromOutputFinalizer
- Serializable
- Product
- Equals
- RawTxFinalizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SubtractFromOutputFinalizer(spk: ScriptPubKey, subAmt: CurrencyUnit)
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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildTx(txBuilderResult: RawTxBuilderResult): Transaction
Constructs a finalized (unsigned) transaction
Constructs a finalized (unsigned) transaction
- Definition Classes
- SubtractFromOutputFinalizer → RawTxFinalizer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- val spk: ScriptPubKey
- val subAmt: CurrencyUnit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()