Статус узла
status — тип запроса.
Этот эндпоинт позволяет получить текущий статус узла NEAR, включая сведения о версии, синхронизации и последнем блоке.
Ответы от выбранного эндпоинта появляются здесь после запуска запроса.
Здесь появится вывод живого ответа после запуска запроса.
Справка по запросу
application/jsonЭта операция принимает JSON-RPC тело через POST на /.
Обязательные входные данные запроса: да
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "статус",
"params": []
}Схема запроса
jsonrpc *string2.0id *stringmethod *stringстатусparams *arrayEmpty array as this method takes no parameters
Справка по ответу
200 application/jsonУспешный ответ
Схема ответа
jsonrpc *string2.0id *один изresultobjectchain_id *stringUnique chain id.
detailed_debug_statusobjectможет быть пустымblock_production_delay_millis *integercatchup_status *arrayitemsobjectcurrent_head_status *objectHeight and hash of a блока
current_header_head_status *objectHeight and hash of a блока
network_info *objectsync_status *stringgenesis_hash *stringBase58-encoded hash
latest_protocol_version *integerПоследний протокола version that this клиент supports.
node_keystringможет быть пустымed25519: or secp256k1: prefixed public ключ
node_public_key *stringed25519: or secp256k1: prefixed public ключ
protocol_version *integerCurrently active протокола version.
rpc_addrstringможет быть пустымAddress for RPC server. None if node doesn't have RPC endpoint enabled.
sync_info *objectSync статус of the node.
earliest_block_hashstringможет быть пустымBase58-encoded hash
earliest_block_heightintegerможет быть пустымearliest_block_timestringможет быть пустымepoch_idstringможет быть пустымBase58-encoded epoch identifier hash
epoch_start_heightintegerможет быть пустымlatest_block_hash *stringBase58-encoded hash
latest_block_height *integerlatest_block_time *stringlatest_state_root *stringBase58-encoded hash
syncing *booleanuptime_sec *integerUptime of the node.
validator_account_idstringможет быть пустымNEAR аккаунта ID
validator_public_keystringможет быть пустымed25519: or secp256k1: prefixed public ключ
валидаторы *arrayВалидаторы текущей эпохи.
itemsobjectversion *objectData structure for semver version and github tag or commit.
build *stringcommit *stringrustc_versionstringversion *stringerrorobjectкодintegermessagestringdataobject