Methods
Static getDurationTime
- getDurationTime(timestamp: number): number
-
Parameters
Returns number
Static getLastSlot
- getLastSlot(nextSlot: number): number
-
Parameters
Returns number
Static getSlotNumber
- getSlotNumber(epochTime?: number): number
-
Parameters
-
Default value epochTime: number = this.getTime()
Returns number
Static getSlotTime
- getSlotTime(slot: number): number
-
Parameters
Returns number
Static getTransactionTime
- getTransactionTime(timestamp: number): Date
Time to interact with blockchain.