sdk.provider.slottounix
Home > @blaze-cardano/sdk > Provider > slotToUnix
Provider.slotToUnix() method
Translate a slot to a unix millisecond timestamp
Signature:
slotToUnix(slot: Slot | number | bigint): number;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| slot | Slot | number | bigint | The network slot | 
Returns:
number
The milliseconds since midnight, Jan 1 1970