wallet::CWallet::ListAddrBookLabels

Retrieve all the known labels in the address book

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fb955bcfdb8), requires_capability(0x7fb94db846d8), requires_capability(0x7fb95ab14558), requires_capability(0x7fb959fb1138), requires_capability(0x7fb956cbb3c8)]]
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.