Следующий блок для лайт-клиента
next_light_client_block — тип запроса.
Этот эндпоинт позволяет получить следующий блок для лайт-клиента в блокчейне NEAR.
Ответы от выбранного эндпоинта появляются здесь после запуска запроса.
Здесь появится вывод живого ответа после запуска запроса.
Справка по запросу
application/jsonЭта операция принимает JSON-RPC тело через POST на /.
Обязательные входные данные запроса: да
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "next_light_client_block",
"params": {
"last_block_hash": "6sddgq8nkENAz4f8qR72qxRPM25QWNBVMrkYr63DgC2E"
}
}Схема запроса
jsonrpc *string2.0id *stringmethod *stringnext_light_client_blockparams *objectlast_block_hash *stringBase58-encoded hash
Справка по ответу
200 application/jsonУспешный ответ
Схема ответа
jsonrpc *string2.0id *один изresultobjectA состояние for the текущий head of a light клиент. More info [here](https://nomicon.io/ChainSpec/LightClient).
approvals_after_nextarrayitemsstringможет быть пустымBase58-encoded cryptographic signature
inner_liteobjectA part of a состояние for the текущий head of a light клиент. More info [here](https://nomicon.io/ChainSpec/LightClient).
block_merkle_root *stringBase58-encoded hash
epoch_id *stringBase58-encoded hash
height *integernext_bp_hash *stringBase58-encoded hash
next_epoch_id *stringBase58-encoded hash
outcome_root *stringBase58-encoded hash
prev_state_root *stringBase58-encoded hash
timestamp *integerLegacy json number. Should not be used.
timestamp_nanosec *stringinner_rest_hashstringBase58-encoded hash
next_block_inner_hashstringBase58-encoded hash
next_bpsarrayitemsobjectOne of multiple possible types
prev_block_hashstringBase58-encoded hash
errorobjectкодintegermessagestringdataobject