Return list of available coins and locked coins grouped by non-change output address.
Declared in <wallet/spend.h>
[[requires_capability(0x7f2e1e653938)]]
std::map<CTxDestination, std::vector<COutput>>
ListCoins(CWallet const& wallet);
Available and locked coins grouped by their non-change destination address.
| Name | Description |
|---|---|
| wallet | The wallet whose coins are listed. |