Skip to main content
Schema: monad.gov Table: dim_epochs Type: View

What

Dimension table for staking epochs. Each epoch starts when the EpochChanged event fires. Block ranges are derived from consecutive epoch change events. Epochs are variable length (~5.5 hours) based on consensus rounds, not fixed block counts.

Columns

Column NameData TypeDescription
EPOCHNUMBEREpoch number
EPOCH_START_BLOCKNUMBERFirst block of this epoch (block where EpochChanged event fired)
EPOCH_END_BLOCKNUMBERLast block of this epoch (block before next epoch started, or current max block for latest epoch)
EPOCH_BLOCK_COUNTNUMBERNumber of blocks in this epoch
EPOCH_START_TIMESTAMPTIMESTAMP_NTZTimestamp when this epoch started
EPOCH_END_TIMESTAMPTIMESTAMP_NTZTimestamp when this epoch ended (NULL for current epoch)
EPOCH_DURATION_SECONDSNUMBERDuration of epoch in seconds (NULL for current epoch)
EPOCH_CHANGE_TX_HASHTEXTTransaction hash of the EpochChanged event that started this epoch