getEpochInfo

Returns information about the current epoch.

Request

This endpoint expects an object.
configobjectOptional
Optional commitment configuration.

Response

Current epoch position and counters.
absoluteSlotinteger>=0
Solana slot number.
blockHeightinteger>=0
Solana block height.
epochinteger>=0
slotIndexinteger>=0
slotsInEpochinteger>=0
transactionCountinteger or null>=0
Total number of processed transactions.