pub struct AddressDerivation { /* private fields */ }Implementations§
Source§impl AddressDerivation
impl AddressDerivation
pub fn new(secret: &[u8; 32], network: Network) -> Result<Self>
pub fn derive_taproot_address( &self, account: u32, change: bool, index: u32, ) -> Result<DerivedAddress>
pub fn get_receive_address(&self, index: u32) -> Result<DerivedAddress>
pub fn get_change_address(&self, index: u32) -> Result<DerivedAddress>
pub fn get_receive_addresses(&self, count: u32) -> Result<Vec<DerivedAddress>>
pub fn master_fingerprint(&self) -> Result<Fingerprint>
pub fn account_xpub(&self, account: u32) -> Result<Xpub>
pub fn network(&self) -> Network
Auto Trait Implementations§
impl Forget for AddressDerivation
impl Freeze for AddressDerivation
impl Move for AddressDerivation
impl RefUnwindSafe for AddressDerivation
impl Send for AddressDerivation
impl Sync for AddressDerivation
impl Unpin for AddressDerivation
impl UnsafeUnpin for AddressDerivation
impl UnwindSafe for AddressDerivation
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