[#wallet-ReserveDestination-GetReservedDestination]
= xref:wallet.adoc[wallet]::xref:wallet/ReserveDestination.adoc[ReserveDestination]::GetReservedDestination
:relfileprefix: ../../
:mrdocs:

Reserve an address

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:util/Result.adoc[util::Result&lt;CTxDestination&gt;]
GetReservedDestination(bool internal);
----

== Return Value

The reserved destination, or an error if none is available&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *internal*
| Whether to reserve from the internal (change) keypool&period;
|===


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