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

Resolves the effective avoid&hyphen;reuse flag from a request parameter&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
GetAvoidReuseFlag(
    xref:wallet/CWallet.adoc[CWallet] const& wallet,
    xref:UniValue.adoc[UniValue] const& param);
----

== Return Value

true if avoid&hyphen;reuse behavior should be applied&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet the request applies to&period;
| *param*
| The RPC parameter that may override the wallet default&period;
|===


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