[#wallet-WalletBatch-WritePurpose] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WritePurpose :relfileprefix: ../../ :mrdocs: Writes the purpose string for an address. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WritePurpose( std::string const& strAddress, std::string const& purpose); ---- == Return Value true if the record was written. == Parameters [cols="1,4"] |=== | Name| Description | *strAddress* | The address the purpose applies to. | *purpose* | The purpose to store. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#