pub struct WalletBalance {
pub network: String,
pub synced_height: u32,
pub confirmed_sat: u64,
pub trusted_pending_sat: u64,
pub untrusted_pending_sat: u64,
pub immature_sat: u64,
pub trusted_spendable_sat: u64,
pub total_sat: u64,
}Expand description
BDK wallet balance split by confirmation status.
Fields§
§network: StringBitcoin network used by the wallet.
synced_height: u32Height of the wallet’s latest local chain checkpoint.
confirmed_sat: u64Confirmed, spendable balance in satoshis.
trusted_pending_sat: u64Unconfirmed wallet-created outputs in satoshis.
untrusted_pending_sat: u64Unconfirmed externally-created outputs in satoshis.
immature_sat: u64Immature coinbase outputs in satoshis.
trusted_spendable_sat: u64Confirmed plus trusted-pending balance in satoshis.
total_sat: u64Total wallet balance in satoshis.
Trait Implementations§
Source§impl Clone for WalletBalance
impl Clone for WalletBalance
Source§fn clone(&self) -> WalletBalance
fn clone(&self) -> WalletBalance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WalletBalance
impl Debug for WalletBalance
impl Eq for WalletBalance
Source§impl PartialEq for WalletBalance
impl PartialEq for WalletBalance
impl StructuralPartialEq for WalletBalance
Auto Trait Implementations§
impl Freeze for WalletBalance
impl RefUnwindSafe for WalletBalance
impl Send for WalletBalance
impl Sync for WalletBalance
impl Unpin for WalletBalance
impl UnsafeUnpin for WalletBalance
impl UnwindSafe for WalletBalance
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