API
| Function | Signature |
|---|---|
from | (input) => Effect<SlotType, SlotError> |
toNumber | (slot) => number |
toBigInt | (slot) => bigint |
toEpoch | (slot) => bigint |
equals | (a, b) => boolean |
Schema | Accepts number, bigint, string |
Beacon chain slot numbers (12-second periods, 32 per epoch)
| Function | Signature |
|---|---|
from | (input) => Effect<SlotType, SlotError> |
toNumber | (slot) => number |
toBigInt | (slot) => bigint |
toEpoch | (slot) => bigint |
equals | (a, b) => boolean |
Schema | Accepts number, bigint, string |