getEpochInfo

POSTSlots & EpochsAll plans

Returns information about the current epoch, including progress through it.

Try itSends a real request from your browser to the selected region.
POST
/

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.

Plans & rate limitsAll plans
Free5/s
Operator50/s
Blade Runner200/s
Nexus500/s

Parameters

params is a JSON array, with values in this order: config.

1configobject

Optional configuration.

Show propertiesProperties
commitmentstringdefault: "finalized"

Bank state to read epoch progress from.

Allowed values:finalizedconfirmedprocessed
minContextSlotinteger

Minimum slot the node must have processed before answering.

Result

resultobject

Current epoch progress. Not wrapped in a context/value envelope.

Show propertiesProperties
epochintegerrequired

Current epoch number.

slotIndexintegerrequired

Slots elapsed since the start of this epoch.

slotsInEpochintegerrequired

Total number of slots in this epoch.

absoluteSlotintegerrequired

Current slot, as an absolute (not epoch-relative) number.

blockHeightinteger | null

Current block height, if known.

transactionCountinteger | null

Total transactions processed by the cluster since genesis, if known.

Notes

  • slotIndex divided by slotsInEpoch (394622 / 432000 ≈ 91.3% in the example) is how far through the current epoch the cluster is.
  • transactionCount is the same running total getTransactionCount returns.