@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Function toASM

    • Convert script operations to ASM (assembly) format. Supports both Bitcoin and Arkade opcodes.

      Parameters

      Returns string

      toASM(['DUP', 'HASH160', 'INSPECTOUTPUTVALUE']) // "OP_DUP OP_HASH160 OP_INSPECTOUTPUTVALUE"
      toASM(ArkadeScript.decode(bytes))