Parameters
chainId
string
default:"solana-devnet"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getEpochSchedule"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
Information about epoch configuration and schedule.
Maximum number of slots in each epoch.
Number of slots before the start of an epoch to calculate the leader schedule.
Whether epochs begin short and grow (i.e., using warmup epochs).
First normal-length epoch. Calculated as log2(slotsPerEpoch) - log2(MINIMUM_SLOTS_PER_EPOCH).
The first slot of the first normal-length epoch, i.e., the point at which warmup epochs stop.
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": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"firstNormalEpoch": 8,
"firstNormalSlot": 8160,
"leaderScheduleSlotOffset": 8192,
"slotsPerEpoch": 8192,
"warmup": true
}
}