wallet::Balance

Breakdown of a wallet's balance by category.

Synopsis

Declared in <wallet/receive.h>

struct Balance;

Data Members

NameDescription
m_mine_immature Immature coinbases in the main chain
m_mine_nonmempool Coins spent by wallet txs that are not in the mempool
m_mine_trusted Trusted, at depth=GetBalance.min_depth or more
m_mine_untrusted_pending Untrusted, but in mempool (pending)
m_mine_used Trusted/untrusted/immature funds in utxos that have already been spent from (only populated if AVOID REUSE wallet flag is set)

Non-Member Functions

NameDescription
GetBalanceComputes the wallet's balance broken down by category.