pub struct CreateCommitTransactionArgsV2<T>where
T: Inscription,{
pub inputs: Vec<Utxo>,
pub inscription: T,
pub leftovers_recipient: Address,
pub commit_fee: Amount,
pub reveal_fee: Amount,
pub txin_script_pubkey: ScriptBuf,
pub derivation_path: Option<DerivationPath>,
}
Expand description
Arguments for creating a commit transaction with fixed fees
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
commit_fee: Amount
Fee to pay for the commit transaction
reveal_fee: Amount
Fee to pay for the reveal transaction
txin_script_pubkey: ScriptBuf
Script pubkey of the inputs
derivation_path: Option<DerivationPath>
Derivation path for the keypair
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CreateCommitTransactionArgsV2<T>where
T: Freeze,
impl<T> RefUnwindSafe for CreateCommitTransactionArgsV2<T>where
T: RefUnwindSafe,
impl<T> Send for CreateCommitTransactionArgsV2<T>where
T: Send,
impl<T> Sync for CreateCommitTransactionArgsV2<T>where
T: Sync,
impl<T> Unpin for CreateCommitTransactionArgsV2<T>where
T: Unpin,
impl<T> UnwindSafe for CreateCommitTransactionArgsV2<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