ElectrumExtendedKey

Trait ElectrumExtendedKey 

Source
pub trait ElectrumExtendedKey {
    // Required methods
    fn to_descriptors(&self) -> Descriptors;
    fn xkey_str(&self) -> String;
    fn kind(&self) -> &str;
}

Required Methods§

Source

fn to_descriptors(&self) -> Descriptors

Returns internal and external descriptor

Source

fn xkey_str(&self) -> String

Returns the bitcoin extended key (xpub or xprv) as String

Source

fn kind(&self) -> &str

Returns the kind of script

Implementors§