Skip to main content
GET
/
internal
/
json
/
startofepoch
/
validators
/
by-epoch
/
{epoch}
Get start-of-epoch validators
curl --request GET \
  --url https://api.example.com/internal/json/startofepoch/validators/by-epoch/{epoch}
const options = {method: 'GET'};

fetch('https://api.example.com/internal/json/startofepoch/validators/by-epoch/{epoch}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.example.com/internal/json/startofepoch/validators/by-epoch/{epoch}"

response = requests.get(url)

print(response.text)
false
{}

Path Parameters

epoch
string
required

Epoch number

Query Parameters

withTxs
boolean

Include transactions in the block

withLogs
boolean

Include logs in the block

Response

Successful response

The response is of type object.