wallet::CWallet::ListAddrBookLabels

Retrieve all the known labels in the address book

Synopsis

Declared in <wallet/wallet.h>

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.