genesis

Shelley

// Request
curl -X POST -H "Content-Type: application/json" -d '{"query": "{ genesis { shelley { networkId epochLength } } }"}' http://<your-app-id>.ankr.com/graphql
// Result
{
"data": {
"genesis": {
"shelley": {
"networkId": "Mainnet",
"epochLength": 432000
}
}
}
}

Byron

// Request
curl -X POST -H "Content-Type: application/json" -d '{"query": "{ genesis { byron { startTime } } }"}' http://<your-app-id>.ankr.com/graphql
// Result
{
"data": {
"genesis": {
"byron": {
"startTime": 1506203091
}
}
}
}
Contents
Shelley
Byron