getEpochInfo RPC Method
Returns information about the current epoch.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
nullif not available