pub struct RevealTransactionArgs {
pub input: Utxo,
pub recipient_address: Address,
pub redeem_script: ScriptBuf,
pub derivation_path: Option<DerivationPath>,
}
Expand description
Arguments for creating a reveal transaction
Fields§
§input: Utxo
Transaction input (output of commit transaction)
recipient_address: Address
Recipient address of the inscription, only support P2PKH
redeem_script: ScriptBuf
The redeem script returned by create_commit_transaction
derivation_path: Option<DerivationPath>
Derivation path for the keypair
Trait Implementations§
Source§impl Clone for RevealTransactionArgs
impl Clone for RevealTransactionArgs
Source§fn clone(&self) -> RevealTransactionArgs
fn clone(&self) -> RevealTransactionArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RevealTransactionArgs
impl RefUnwindSafe for RevealTransactionArgs
impl Send for RevealTransactionArgs
impl Sync for RevealTransactionArgs
impl Unpin for RevealTransactionArgs
impl UnwindSafe for RevealTransactionArgs
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