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

    Function fromASM

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

      Parameters

      • asm: string

      Returns ArkadeScriptType

      fromASM("OP_DUP OP_HASH160 deadbeef OP_NUM2BIN")
      // => ['DUP', 'HASH160', Uint8Array, 'NUM2BIN']