Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
    fn into_wallet_descriptor(
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; }
Expand description

Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]

Required methods

Convert to wallet descriptor

Implementations on Foreign Types


Turns a DescriptorTemplate into a valid wallet descriptor by calling its build method