services

getEpochInfo

getEpochInfo, RPC on carbium services: returns {absoluteSlot, blockHeight, epoch, slotIndex, slotsInEpoch, transactionCount}. It costs 1 credit, and a JSON-RPC batch can hold it.

getEpochInfo1 creditFREE 5/sDEV 30/sBUSINESS 100/sPRO 500/sbatch
paramtype
config{commitment?, minContextSlot?}opt
{"jsonrpc":"2.0","id":1,"method":"getEpochInfo","params":[]}

answer{absoluteSlot, blockHeight, epoch, slotIndex, slotsInEpoch, transactionCount}