wallet::CWallet::ListAddrBookLabels

Retrieve all the known labels in the address book

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f94fde05998), requires_capability(0x7f95061a86d8), requires_capability(0x7f94f2b791e8), requires_capability(0x7f94f0cf7e78), requires_capability(0x7f94fee3a868)]]
std::set<std::string>
ListAddrBookLabels(std::optional<AddressPurpose> purpose) const;

Return Value

The set of known labels.

Parameters

NameDescription
purposeOptional purpose to restrict which labels are returned.