The absolute fee of the original transaction in satoshis.
Array of available UTXOs, including the original transaction's inputs.
The address where all funds will be sent in the cancellation transaction.
The dust threshold in satoshis. Outputs below this value are considered "dust" and may not be economically viable to spend.
OptionalfullWhether to attempt full RBF even if the transaction doesn't signal it.
OptionalglobalOptional array of global xpubs to include in the PSBT.
The Bitcoin network being used (e.g., mainnet, testnet).
The hex-encoded original transaction to be replaced.
The number of required signers for the multisig setup.
OptionalreuseWhether to reuse all inputs from the original transaction in the replacement.
For cancel transactions, this defaults to false as there's no risk of double-paying. Setting this to true will include all original inputs, potentially increasing fees but ensuring maximum conflict with the original transaction.
The type of script used for the transaction (e.g., P2PKH, P2SH, P2WSH).
OptionalstrictIf true, enforces stricter validation rules.
When set to true, the following stricter rules (among others) are applied:
The target fee rate in satoshis per virtual byte. This is used to calculate the appropriate fee for the transaction.
The total number of signers in the multisig setup.
Options for creating a cancel RBF transaction.