wallet::ListCoins

Return list of available coins and locked coins grouped by non-change output address.

Synopsis

Declared in <wallet/spend.h>

[[requires_capability(0x7f2e1e653938)]]
std::map<CTxDestination, std::vector<COutput>>
ListCoins(CWallet const& wallet);

Return Value

Available and locked coins grouped by their non-change destination address.

Parameters

NameDescription
walletThe wallet whose coins are listed.