[#ScriptToUniv]
= ScriptToUniv
:mrdocs:

Fill a JSON object with a human&hyphen;readable description of a script&period;

== Synopsis

Declared in `&lt;core&lowbar;io&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ScriptToUniv(
    xref:CScript.adoc[CScript] const& script,
    xref:UniValue.adoc[UniValue]& out,
    bool include&lowbar;hex = true,
    bool include&lowbar;address = false,
    xref:SigningProvider.adoc[SigningProvider] const* provider = nullptr);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *script*
| Script to describe&period;
| *out*
| JSON object populated with the script&apos;s fields&period;
| *include&lowbar;hex*
| When true, include the raw script as a hex string&period;
| *include&lowbar;address*
| When true, include the decoded address when the script has one&period;
| *provider*
| Optional source of keys and scripts used to resolve addresses&period;
|===


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