pub trait GetBalance {
// Required method
fn get_balance(&self) -> Amount;
}Expand description
Ability to query the wallets’ total balance.
This is used by higher-level flows to decide when onchain funds are available for boarding or fee bumping, and to present balance information to users.
Required Methods§
Sourcefn get_balance(&self) -> Amount
fn get_balance(&self) -> Amount
Get the total balance of the wallet.