[#EvalDescriptorStringOrObject]
= EvalDescriptorStringOrObject
:mrdocs:

Evaluate a descriptor given as a string, or as a &lcub;&quot;desc&quot;&colon;&period;&period;&period;,&quot;range&quot;&colon;&period;&period;&period;&rcub; object, with default range of 1000&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;CScript&gt;
EvalDescriptorStringOrObject(
    xref:UniValue.adoc[UniValue] const& scanobject,
    xref:FlatSigningProvider.adoc[FlatSigningProvider]& provider,
    bool expand&lowbar;priv = false);
----

== Return Value

The scripts produced by the descriptor&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *scanobject*
| The descriptor string or object to evaluate&period;
| *provider*
| Signing provider that receives keys derived from the descriptor&period;
| *expand&lowbar;priv*
| If true, expand private keys into the provider&period;
|===


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