ScriptToAsmStr

Render a script as a human-readable assembly string.

Synopsis

Declared in <core_io.h>

std::string
ScriptToAsmStr(
    CScript const& script,
    bool fAttemptSighashDecode = false);

Return Value

The assembly text for the script.

Parameters

NameDescription
scriptScript to disassemble.
fAttemptSighashDecodeWhen true, decode trailing signature-hash type bytes into readable names.