跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

info

Description

Gets current blockchain information

Position Parameters

This command does not accept any parameters.

Options

  • -h - --help Print this help message and exit

Example

cleos get info

This command simply returns the current blockchain state information.

{
"server_version": "7451e092",
"head_block_num": 6980,
"last_irreversible_block_num": 6963,
"head_block_id": "00001b4490e32b84861230871bb1c25fb8ee777153f4f82c5f3e4ca2b9877712",
"head_block_time": "2017-12-07T09:18:48",
"head_block_producer": "initp",
"recent_slots": "1111111111111111111111111111111111111111111111111111111111111111",
"participation_rate": "1.00000000000000000"
}