Function timestampToBlockHeightPrivate

  • Private

    Estimate block height of a given time stamp.

    Parameters

    • unixTimestamp: number

      Unix timestamp to estimate.

    • currentHeight: number

      Current block height.

    Returns number

    • Estimated block height.