[#wallet-WalletBatch-WriteAddressReceiveRequest]
= xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::WriteAddressReceiveRequest
:relfileprefix: ../../
:mrdocs:

Writes a receive request associated with an address&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
WriteAddressReceiveRequest(
    xref:CTxDestination.adoc[CTxDestination] const& dest,
    std::string const& id,
    std::string const& receive&lowbar;request);
----

== Return Value

true if the record was written&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dest*
| The address destination&period;
| *id*
| The identifier of the receive request&period;
| *receive&lowbar;request*
| The receive request payload to store&period;
|===


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