BumpFeeTxBuilder

A BumpFeeTxBuilder is created by calling build_fee_bump on a wallet. After assigning it, you set options on it until finally calling finish to consume the builder and generate the transaction.

Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

constructor(txid: String, feeRate: FeeRate)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun allowDust(allowDust: Boolean): BumpFeeTxBuilder

Set whether the dust limit is checked.

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun currentHeight(height: UInt): BumpFeeTxBuilder

Set the current blockchain height.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun finish(wallet: Wallet): Psbt

Finish building the transaction.

Link copied to clipboard
open override fun nlocktime(locktime: LockTime): BumpFeeTxBuilder

Use a specific nLockTime while creating the transaction.

Link copied to clipboard
open override fun setExactSequence(nsequence: UInt): BumpFeeTxBuilder

Set an exact nSequence value.

Link copied to clipboard
fun uniffiClonePointer(): Pointer
Link copied to clipboard
open override fun version(version: Int): BumpFeeTxBuilder

Build a transaction with a specific version.