Function locktimeToDate

  • Convert a transaction locktime to its equivalent JavaScript Date object. If locktime is outside the possible range (greater than or equal to 500000000 and less than or equal to 4294967295), an error message is returned.

    For the reverse, see dateToLocktime.


    • locktime: number

      a positive integer between 500000000 and 4294967295, inclusive

    Returns Date | locktimeOutOfRange

Generated using TypeDoc