Trait SignPsbt

Source
pub trait SignPsbt {
    // Required method
    fn finish_tx<'life0, 'async_trait>(
        &'life0 mut self,
        psbt: Psbt,
    ) -> Pin<Box<dyn Future<Output = Result<Transaction>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Ability to finalize a Psbt into a fully signed Transaction.

Wallets should apply all necessary signatures and finalize inputs according to their internal key management and policies.

Required Methods§

Source

fn finish_tx<'life0, 'async_trait>( &'life0 mut self, psbt: Psbt, ) -> Pin<Box<dyn Future<Output = Result<Transaction>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Consume a Psbt and return a fully signed and finalized Transaction.

Implementations on Foreign Types§

Source§

impl SignPsbt for Wallet

Source§

fn finish_tx<'life0, 'async_trait>( &'life0 mut self, psbt: Psbt, ) -> Pin<Box<dyn Future<Output = Result<Transaction>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§