pub struct CreateCommitTransactionArgs<T>where
T: Inscription,{
pub inputs: Vec<Utxo>,
pub inscription: T,
pub leftovers_recipient: Address,
pub txin_script_pubkey: ScriptBuf,
pub fee_rate: FeeRate,
pub multisig_config: Option<MultisigConfig>,
pub derivation_path: Option<DerivationPath>,
}
Expand description
Arguments for creating a commit transaction
Fields§
§inputs: Vec<Utxo>
UTXOs to be used as inputs of the transaction
inscription: T
Inscription to write
leftovers_recipient: Address
Address to send the leftovers BTC of the trasnsaction
txin_script_pubkey: ScriptBuf
Script pubkey of the inputs
fee_rate: FeeRate
Current fee rate on the network
multisig_config: Option<MultisigConfig>
Multisig configuration, if applicable
derivation_path: Option<DerivationPath>
Derivation path for the keypair
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CreateCommitTransactionArgs<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateCommitTransactionArgs<T>where
T: RefUnwindSafe,
impl<T> Send for CreateCommitTransactionArgs<T>where
T: Send,
impl<T> Sync for CreateCommitTransactionArgs<T>where
T: Sync,
impl<T> Unpin for CreateCommitTransactionArgs<T>where
T: Unpin,
impl<T> UnwindSafe for CreateCommitTransactionArgs<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more