Skip to main content

dump_consensus_state REST API Endpoint

Retrieves consensus state.

Updated on
Apr 15, 2024

dump_consensus_state REST API Endpoint

Parameters

This method does not accept any parameters

Returns

result
object
The result object with the following fields:
round_state
object
The round_state object which contains the information about the state of the round
height
The height of the block
round
The current round
step
The current step in the round
start_time
The start time of the round
commit_time
The time when the commit occurred
validators
object
Information about validators in the round
validators
array
A list of validators
address
The address of the validator
pub_key
object
The public key of the validator
type
The type of public key
value
The value of public key
voting_power
The voting power of the validator
proposer_priority
The proposer priority of the validator
proposer
object
Information about the proposer for the round
address
The address of the proposer
pub_key
object
The public key of the proposer
type
The type of public key
value
The value of public key
voting_power
The voting power of the proposer
proposer_priority
The proposer priority of the proposer
proposal
The proposed block, if any
proposal_block
The proposed block
proposal_block_parts
The parts of the proposed block
proposal_receive_time
The time when the proposal was received
locked_round
The round that is locked
locked_block
The locked block
locked_block_parts
The parts of the locked block
valid_round
The round that is valid
valid_block
The valid block
valid_block_parts
The parts of the valid block
votes
array
List of votes in the round
round
The round of the vote
prevotes
array
The pre-votes in the round
prevotes_bit_array
A bit array for pre-votes
precommits
array
The pre-commits in the round
precommits_bit_array
A bit array for pre-commits
commit_round
The round at which the commit occurred
last_commit
object
Information about the last commit including votes, votes bit array, and the majority 2/3 peers
votes
array
An array of votes in the last commit
votes_bit_array
A bit array representing the votes in the last commit
peer_maj_23s
The majority 2/3 peers
last_validators
object
The details of the last validators including their addresses, public keys, voting power, and proposer priority
validators
array
An array of validators
address
The address of the validator
pub_key
object
The details of the public key
type
The type of the public key
value
The value of the public key
voting_power
The voting power of the validator
proposer_priority
The priority of the validator as a proposer
proposer
object
The details of the proposer including address, public key, voting power, and proposer priority
address
The address of the proposer
pub_key
object
The details of the public key
type
The type of the public key
value
The value of the public key
voting_power
The voting power of the proposer
proposer_priority
The priority of the proposer
triggered_timeout_precommit
A flag indicating whether a timeout precommit was triggered
peers
array
An array of peers
node_address
The address of the peer node
peer_state
object
The details of the peer state including round state and statistics
round_state
object
The details of the round state including height, round, step, start time, proposal details, prevotes, precommits, last commit details, and catchup commit details
height
The height of the round
round
The round number
step
The step of the round
start_time
The start time of the round
proposal
The proposal details
proposal_block_part_set_header
object
The details of the proposal block part set header including total parts
total
The total number of block parts
hash
The block hash
proposal_block_parts
Information about the proposed block parts
proposal_pol_round
The proposal policy round
proposal_pol
The proposal policy
prevotes
The prevotes received
precommits
The precommits received
last_commit_round
The round of the last commit
last_commit
The details of the last commit
catchup_commit_round
The round of the catchup commit
catchup_commit
The details of the catchup commit
stats
object
The statistics including votes and block parts
votes
The number of votes
block_parts
The number of block parts
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/dump_consensus_state'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free