• Get instant as blocknumber.

    Returns

    BlockNumber

    Parameters

    • time: ChainTime

      ChainTime

    • instant: number | `${number} second` | `${number} seconds` | `${number} minute` | `${number} minutes` | `${number} hour` | `${number} hours` | `${number} day` | `${number} days` | `${number} week` | `${number} weeks` | `${number} month` | `${number} months` | `${number} year` | `${number} years` | `-${number} second` | `-${number} seconds` | `-${number} minute` | `-${number} minutes` | `-${number} hour` | `-${number} hours` | `-${number} day` | `-${number} days` | `-${number} week` | `-${number} weeks` | `-${number} month` | `-${number} months` | `-${number} year` | `-${number} years` | Date

      Date | BlockNumber

    Returns number

Generated using TypeDoc