get Epoch Info
Returns information about the current epoch, including progress through it.
getEpochInfo returns the current epoch number, progress through it (slotIndex out of slotsInEpoch), the absolute slot and block height, and the running transaction count.
slotIndex divided by slotsInEpoch gives progress through the epoch; the remaining slots multiplied by the current slot time (about 270 ms, measured September 2026, from getRecentPerformanceSamples rather than a fixed constant) estimate time to epoch rollover.
Parameters
params is a JSON array, with values in this order: config.
Optional configuration.
Show propertiesProperties
Bank state to read epoch progress from.
finalizedconfirmedprocessedMinimum slot the node must have processed before answering.
Result
Current epoch progress. Not wrapped in a context/value envelope.
Show propertiesProperties
Current epoch number.
Slots elapsed since the start of this epoch.
Total number of slots in this epoch.
Current slot, as an absolute (not epoch-relative) number.
Current block height, if known.
Total transactions processed by the cluster since genesis, if known.
Notes
slotIndexdivided byslotsInEpoch(394622 / 432000 ≈ 91.3% in the example) is how far through the current epoch the cluster is.transactionCountis the same running totalgetTransactionCountreturns.