> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# getEpochSchedule

> Returns the epoch schedule information from this cluster`s genesis config

### Parameters

<ParamField query="chainId" type="string" default="solana-devnet" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="getEpochSchedule" required>
  JSON-RPC method name.
</ParamField>

This method does not require any parameters.

### Returns

<ResponseField name="result" type="object">
  Information about epoch configuration and schedule.

  <Expandable title="properties">
    <ResponseField name="slotsPerEpoch" type="integer">
      Maximum number of slots in each epoch.
    </ResponseField>

    <ResponseField name="leaderScheduleSlotOffset" type="integer">
      Number of slots before the start of an epoch to calculate the leader schedule.
    </ResponseField>

    <ResponseField name="warmup" type="boolean">
      Whether epochs begin short and grow (i.e., using warmup epochs).
    </ResponseField>

    <ResponseField name="firstNormalEpoch" type="integer">
      First normal-length epoch. Calculated as log2(slotsPerEpoch) - log2(MINIMUM\_SLOTS\_PER\_EPOCH).
    </ResponseField>

    <ResponseField name="firstNormalSlot" type="integer">
      The first slot of the first normal-length epoch, i.e., the point at which warmup epochs stop.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=solana-devnet \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "getEpochSchedule",
      "params": []
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "firstNormalEpoch": 8,
      "firstNormalSlot": 8160,
      "leaderScheduleSlotOffset": 8192,
      "slotsPerEpoch": 8192,
      "warmup": true
    }
  }
  ```
</ResponseExample>
