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

Name

Description

script

Script to disassemble.

fAttemptSighashDecode

When true, decode trailing signature‐hash type bytes into readable names.

Created with MrDocs