Function decodeLocktime

  • Decode a locktime, returning a number for block heights, a Date for block times, or a string for parsing errors.

    Parameters

    • bin: Uint8Array

      the 4-byte Uint8Array locktime to parse

    Returns number | Date | incorrectLength

Generated using TypeDoc