[#wallet-CAddressBookData-purpose]
= xref:wallet.adoc[wallet]::xref:wallet/CAddressBookData.adoc[CAddressBookData]::purpose
:relfileprefix: ../../
:mrdocs:

Address purpose which was originally recorded for payment protocol support but now serves as a cached IsMine value&period; Wallet code should not rely on this field being set&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;AddressPurpose&gt; purpose;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
