getEpochInfo RPC Method
Returns information about the current epoch.Parameters
object
optionalConfiguration object containing the following fields:commitment
string
optionalThe level of commitment desired when querying stateminContextSlot
number
optionalThe minimum slot that the request can be evaluated at
Result Details
The result field will be an object containing:-
absoluteSlot: <u64>
- The current slot in the blockchain
- Represents the total number of slots processed
-
blockHeight: <u64>
- The current block height
- Number of blocks beneath the highest block
-
epoch: <u64>
- The current epoch number
- Represents the current epoch in the blockchain
-
slotIndex: <u64>
- The current slot relative to the start of the current epoch
- Shows progress within the current epoch
-
slotsInEpoch: <u64>
- Total number of slots in the current epoch
- Defines the length of the current epoch
-
transactionCount: <u64|null>
- Total number of transactions processed without error since genesis
- May be
null
if not available