Trait bdk_wallet::wallet::signer::TransactionSigner

source ·
pub trait TransactionSigner: SignerCommon {
    // Required method
    fn sign_transaction(
        &self,
        psbt: &mut Psbt,
        sign_options: &SignOptions,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>;
}
Expand description

PSBT signer

This trait can be implemented when the signer can’t sign inputs individually, but signs the whole transaction at once.

Required Methods§

source

fn sign_transaction( &self, psbt: &mut Psbt, sign_options: &SignOptions, secp: &Secp256k1<All> ) -> Result<(), SignerError>

Sign all the inputs of the psbt

Implementors§