get http://127.0.0.1:11211/json_rpc/#014
Returns various information and stats.
List of available flags values:
COMMAND_RPC_GET_INFO_FLAG_POS_DIFFICULTY | 0x0000000000000001 |
COMMAND_RPC_GET_INFO_FLAG_POW_DIFFICULTY | 0x0000000000000002 |
COMMAND_RPC_GET_INFO_FLAG_NET_TIME_DELTA_MEDIAN | 0x0000000000000004 |
COMMAND_RPC_GET_INFO_FLAG_CURRENT_NETWORK_HASHRATE_50 | 0x0000000000000008 |
COMMAND_RPC_GET_INFO_FLAG_CURRENT_NETWORK_HASHRATE_350 | 0x0000000000000010 |
COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_10_BLOCKS | 0x0000000000000020 |
COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_30_BLOCKS | 0x0000000000000040 |
COMMAND_RPC_GET_INFO_FLAG_TRANSACTIONS_DAILY_STAT | 0x0000000000000080 |
COMMAND_RPC_GET_INFO_FLAG_LAST_POS_TIMESTAMP | 0x0000000000000100 |
COMMAND_RPC_GET_INFO_FLAG_LAST_POW_TIMESTAMP | 0x0000000000000200 |
COMMAND_RPC_GET_INFO_FLAG_TOTAL_COINS | 0x0000000000000400 |
COMMAND_RPC_GET_INFO_FLAG_LAST_BLOCK_SIZE | 0x0000000000000800 |
COMMAND_RPC_GET_INFO_FLAG_TX_COUNT_IN_LAST_BLOCK | 0x0000000000001000 |
COMMAND_RPC_GET_INFO_FLAG_POS_SEQUENCE_FACTOR | 0x0000000000002000 |
COMMAND_RPC_GET_INFO_FLAG_POW_SEQUENCE_FACTOR | 0x0000000000004000 |
COMMAND_RPC_GET_INFO_FLAG_OUTS_STAT | 0x0000000000008000 |
COMMAND_RPC_GET_INFO_FLAG_PERFORMANCE | 0x0000000000010000 |
COMMAND_RPC_GET_INFO_FLAG_POS_BLOCK_TS_SHIFT_VS_ACTUAL | 0x0000000000020000 |
COMMAND_RPC_GET_INFO_FLAG_MARKET | 0x0000000000040000 |
COMMAND_RPC_GET_INFO_FLAG_ALL_FLAGS | 0xffffffffffffffff |
Outputs:
- alias_count — unsigned int; number of total aliases registered.
- alt_blocks_count — unsigned int; number of alternative blocks known to this node.
- block_reward — unsigned int; base block reward for the next block (excluding fees and txs size penalty). Calculated only if both COMMAND_RPC_GET_INFO_FLAG_POS_DIFFICULTY and COMMAND_RPC_GET_INFO_FLAG_TOTAL_COINS flags are present.
- current_blocks_median — unsigned int; median of cumulative block sizes for the recent N blocks.
- current_max_allowed_block_size — unsigned int; maximum allowed cumulative size of a block in bytes.
- current_network_hashrate_350 — unsigned int; network hashrate calculated by difficulty within a window of the last 350 blocks. Calculated only if COMMAND_RPC_GET_INFO_FLAG_CURRENT_NETWORK_HASHRATE_350 flag is present.
- current_network_hashrate_50 — unsigned int; the same as above for last 50 blocks. Calculated only if COMMAND_RPC_GET_INFO_FLAG_CURRENT_NETWORK_HASHRATE_50 flag is present.
- daemon_network_state — unsigned int; current daemon state. Possible values and their meaning:
daemon_network_state_connecting = 0,
daemon_network_state_synchronizing = 1,
daemon_network_state_online = 2,
daemon_network_state_loading_core = 3,
daemon_network_state_internal_error = 4,
daemon_network_state_unloading_core = 5 - default_fee — unsigned int; current default fee.
- grey_peerlist_size — unsigned int; number of peers in the gray list (these are peers received from another node and this node has not yet attempted to connect to them).
- height — unsigned int; number of blocks in the main chain.
- incoming_connections_count — unsigned int; number of incoming P2P connections.
- last_block_size — unsigned int; cumulative size of the last block. Returned only if COMMAND_RPC_GET_INFO_FLAG_LAST_BLOCK_SIZE flag is present.
- last_block_total_reward — unsigned int; actual reward for the last block. Calculated only if both COMMAND_RPC_GET_INFO_FLAG_POS_DIFFICULTY and COMMAND_RPC_GET_INFO_FLAG_TOTAL_COINS flags are present.
- last_pos_timestamp — unsigned int; timestamp of the last PoS block in the main chain. Calculated only if COMMAND_RPC_GET_INFO_FLAG_LAST_POS_TIMESTAMP flag is present.
- last_pow_timestamp — unsigned int; timestamp of the last PoW block in the main chain. Calculated only if COMMAND_RPC_GET_INFO_FLAG_LAST_POW_TIMESTAMP flag is present.
- max_net_seen_height — unsigned int; size of the longest chain among this node’s peers.
- mi — object; the last received maintainer info message with recommended build versions from project maintainers. See below detailed description of maintainers_info_external object.
- minimum_fee — unsigned int; current tx fee minimum required by tx pool.
- net_time_delta_median — signed int; median of system time differences among this node’s peers. Calculated only if COMMAND_RPC_GET_INFO_FLAG_NET_TIME_DELTA_MEDIAN flag is present.
- offers_count — unsigned int; total number of market offers known to this node. Calculated only if COMMAND_RPC_GET_INFO_FLAG_PERFORMANCE flag is present and no --disable-market CLI option was specified.
- outgoing_connections_count — unsigned int; number of outgoing P2P connections.
- outs_stat — object; brief output statistics.
- pos_allowed — boolean; false if PoS blocks cannot be accepted yet, otherwise — true.
- pos_block_ts_shift_vs_actual — signed int; the difference between the block timestamp and actual block timestamp for the last PoS block in the main chain. Calculated only if COMMAND_RPC_GET_INFO_FLAG_POS_BLOCK_TS_SHIFT_VS_ACTUAL flag is present.
- pos_diff_total_coins_rate — unsigned int; current ratio of PoS difficulty to total coins mined. Calculated only if both COMMAND_RPC_GET_INFO_FLAG_POS_DIFFICULTY and COMMAND_RPC_GET_INFO_FLAG_TOTAL_COINS flags are present.
- pos_difficulty — unsigned int; difficulty for the next PoS block.
- pos_sequence_factor — unsigned int; size of a continuous sequence of PoS blocks starting from the top block. Calculated only if COMMAND_RPC_GET_INFO_FLAG_POS_SEQUENCE_FACTOR flag is present.
- pow_difficulty — unsigned int; difficulty for the next PoW block.
- pow_sequence_factor — unsigned int; size of a continuous sequence of PoW blocks starting from the top block. (Required flag: COMMAND_RPC_GET_INFO_FLAG_POW_SEQUENcE_FACTOR)
- seconds_for_10_blocks — unsigned int; timestamp difference between the top block and the 10th from the top. (Required flag: COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_10_BLOCKS)
- seconds_for_30_blocks — unsigned int; timestamp difference between the top block and the 30th from the top. (Required flag: COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_30_BLOCKS)
- synchronization_start_height — unsigned int; size of the local blockchain when the synchronization process started for the first time after daemon start.
- synchronized_connections_count — unsigned int; number of synchronized peers.
- total_coins — unsigned int; number of emitted coins. (Required flag: COMMAND_RPC_GET_INFO_FLAG_TOTAL_COINS)
- transactions_cnt_per_day — unsigned int; number of non-coinbase transactions for the last 24 hours. (Required flag: COMMAND_RPC_GET_INFO_FLAG_TRANSACTIONS_DAILY_STAT)
- transactions_volume_per_day — unsigned int; total amount of non-miner transactions for the last 24 hours. (Required flag: COMMAND_RPC_GET_INFO_FLAG_TRANSACTIONS_DAILY_STAT)
- tx_count — unsigned int; total number of all non-coinbase transactions.
- tx_count_in_last_block — unsigned int; number of non-coinbase transactions in the last block. (Required flag: COMMAND_RPC_GET_INFO_FLAG_TX_COUNT_IN_LAST_BLOCK)
- tx_pool_size — unsigned int; number of transactions in the tx pool.
- white_peerlist_size — unsigned int; number of peers in the white list (total number of peers to which this node has ever been connected).
Fields of maintainers_info_external object:
- ver_major — unsigned int; major build version from project maintainers.
- ver_minor — unsigned int; minor build version from project maintainers.
- ver_revision — unsigned int; revision build version from project maintainers.
- mode — unsigned int; maintainers info message type:
#define ALERT_TYPE_CALM 1
#define ALERT_TYPE_URGENT 2
#define ALERT_TYPE_CRITICAL 3