[#ScriptToAsmStr]
= ScriptToAsmStr
:mrdocs:

Render a script as a human&hyphen;readable assembly string&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
ScriptToAsmStr(
    xref:CScript.adoc[CScript] const& script,
    bool fAttemptSighashDecode = false);
----

== Return Value

The assembly text for the script&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *script*
| Script to disassemble&period;
| *fAttemptSighashDecode*
| When true, decode trailing signature&hyphen;hash type bytes into readable names&period;
|===


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