case class AddFutureFeeFinalizer(spk: ScriptPubKey, futureFee: CurrencyUnit, changeSPKs: Vector[ScriptPubKey]) extends RawTxFinalizer with Product with Serializable
Adds a an amount to the output with the given ScriptPubKey and subtracts that amount in equal proportions from the specified change ScriptPubKeys.
This can be useful when you want to account for a future spending fee in this transaction to get nice output values on the spending tx.
- Alphabetic
- By Inheritance
- AddFutureFeeFinalizer
- Serializable
- Product
- Equals
- RawTxFinalizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AddFutureFeeFinalizer(spk: ScriptPubKey, futureFee: CurrencyUnit, changeSPKs: Vector[ScriptPubKey])
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
- AddFutureFeeFinalizer → RawTxFinalizer
- val changeSPKs: Vector[ScriptPubKey]
- 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])
- val futureFee: CurrencyUnit
- 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
- 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()