Skip to main content

dump_consensus_state REST API Endpoint

Retrieves consensus state.

Updated on
Nov 7, 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
string
The height of the block
round
integer
The current round
step
integer
The current step in the round
start_time
string
The start time of the round
commit_time
string
The time when the commit occurred
validators
object
Information about validators in the round
validators
array
A list of validators
address
string
The address of the validator
pub_key
object
The public key of the validator
type
string
The type of public key
value
string
The value of public key
voting_power
string
The voting power of the validator
proposer_priority
string
The proposer priority of the validator
proposer
object
Information about the proposer for the round
address
string
The address of the proposer
pub_key
object
The public key of the proposer
type
string
The type of public key
value
string
The value of public key
voting_power
string
The voting power of the proposer
proposer_priority
string
The proposer priority of the proposer
proposal
string
The proposed block, if any
proposal_block
string
The proposed block
proposal_block_parts
string
The parts of the proposed block
proposal_receive_time
string
The time when the proposal was received
locked_round
string
The round that is locked
locked_block
string
The locked block
locked_block_parts
string
The parts of the locked block
valid_round
string
The round that is valid
valid_block
string
The valid block
valid_block_parts
string
The parts of the valid block
votes
array
List of votes in the round
round
integer
The round of the vote
prevotes
array
The pre-votes in the round
prevotes_bit_array
string
A bit array for pre-votes
precommits
array
The pre-commits in the round
precommits_bit_array
string
A bit array for pre-commits
commit_round
string
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
string
A bit array representing the votes in the last commit
peer_maj_23s
string
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
string
The address of the validator
pub_key
object
The details of the public key
type
string
The type of the public key
value
string
The value of the public key
voting_power
string
The voting power of the validator
proposer_priority
string
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
string
The address of the proposer
pub_key
object
The details of the public key
type
string
The type of the public key
value
string
The value of the public key
voting_power
string
The voting power of the proposer
proposer_priority
string
The priority of the proposer
triggered_timeout_precommit
string
A flag indicating whether a timeout precommit was triggered
peers
array
An array of peers
node_address
string
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
string
The height of the round
round
integer
The round number
step
integer
The step of the round
start_time
string
The start time of the round
proposal
boolean
The proposal details
proposal_block_part_set_header
object
The details of the proposal block part set header including total parts
total
integer
The total number of block parts
hash
string
The block hash
proposal_block_parts
string
Information about the proposed block parts
proposal_pol_round
integer
The proposal policy round
proposal_pol
string
The proposal policy
prevotes
string
The prevotes received
precommits
string
The precommits received
last_commit_round
integer
The round of the last commit
last_commit
string
The details of the last commit
catchup_commit_round
string
The round of the catchup commit
catchup_commit
string
The details of the catchup commit
stats
object
The statistics including votes and block parts
votes
string
The number of votes
block_parts
string
The number of block parts
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/dump_consensus_state'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free