Skip to content

suix_getEpochs ​

Extended API

Return a list of epoch info

Parameters ​

  • cursor · BigInt<u64> · optionaloptional paging cursor
  • limit · integer (uint) · optionalmaximum number of items per page
  • descending_order · boolean · optionalflag to return results in descending order

Result ​

Example ​

Request ​

bash
curl https://mainnet-api.inodra.com/v1/jsonrpc \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getEpochs",
  "params": []
}'

The full-stack Sui data layer.