Current epoch information.

1.0.0

interface EpochInfo {
    absoluteSlot: Slot;
    blockHeight: number;
    epoch: Epoch;
    slotIndex: number;
    slotsInEpoch: number;
    transactionCount?: number;
}

Properties

absoluteSlot: Slot

Current absolute slot.

blockHeight: number

Current block height.

epoch: Epoch

Current epoch number.

slotIndex: number

Current slot index within the epoch.

slotsInEpoch: number

Total slots per epoch.

transactionCount?: number

Total transaction count (optional).