[#ScriptToUniv] = ScriptToUniv :mrdocs: Fill a JSON object with a human‐readable description of a script. == Synopsis Declared in `<core_io.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ScriptToUniv( xref:CScript.adoc[CScript] const& script, xref:UniValue.adoc[UniValue]& out, bool include_hex = true, bool include_address = false, xref:SigningProvider.adoc[SigningProvider] const* provider = nullptr); ---- == Parameters [cols="1,4"] |=== | Name| Description | *script* | Script to describe. | *out* | JSON object populated with the script's fields. | *include_hex* | When true, include the raw script as a hex string. | *include_address* | When true, include the decoded address when the script has one. | *provider* | Optional source of keys and scripts used to resolve addresses. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#