Валидаторы по эпохе
validators — тип запроса.
Этот эндпоинт позволяет получить набор валидаторов для конкретной эпохи в блокчейне NEAR.
Ответы от выбранного эндпоинта появляются здесь после запуска запроса.
Здесь появится вывод живого ответа после запуска запроса.
Справка по запросу
application/jsonЭта операция принимает JSON-RPC тело через POST на /.
Обязательные входные данные запроса: да
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "валидаторы",
"params": {
"epoch_id": "9p3TzDhp6B5sRCaMi36TXqKWHfjEt4oyqaGoftHHaa8E"
}
}Схема запроса
jsonrpc *string2.0id *stringmethod *stringвалидаторыparams *objectepoch_id *stringBase58-encoded epoch identifier hash
Справка по ответу
200 application/jsonУспешный ответ
Схема ответа
jsonrpc *string2.0id *один изresultobjectInformation about this epoch валидаторы and next epoch валидаторы
current_fishermen *arrayFishermen for the текущий epoch
itemsobjectOne of multiple possible types
current_proposals *arrayProposals in the текущий epoch
itemsobjectOne of multiple possible types
current_validators *arrayВалидаторы for the текущий epoch
itemsobjectDescribes information about the текущий epoch валидатора
epoch_height *integerEpoch height
epoch_start_height *integerEpoch start блока height
next_fishermen *arrayFishermen for the next epoch
itemsobjectOne of multiple possible types
next_validators *arrayВалидаторы for the next epoch
itemsobjectprev_epoch_kickout *arrayKickout in the previous epoch
itemsobjecterrorobjectкодintegermessagestringdataobject