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

Name

Description

wallet

The wallet whose coins are listed.

Created with MrDocs