consensus_state REST API Endpoint
Please note that this method is not safe to call from inside the ABCI application during a block execution.
Parameters
This method does not accept any parameters
Returns
result
object
The result object with the following fields:
round_state
object
The details of the round_state
height/round/step
string
Indicates the current height, round number, and step within the consensus process
start_time
string
The timestamp when the round started
proposal_block_hash
string
The hash of the proposed block
locked_block_hash
string
The hash of the locked block
valid_block_hash
string
The hash of the valid block
height_vote_set
array
Information about the votes for the current height
round
integer
The round number
prevotes
string
An array of prevotes for this round
prevotes_bit_array
string
A bit array indicating the prevotes
precommits
string
An array of precommits for this round
precommits_bit_array
string
A bit array indicating the precommits
proposer
object
Information about the node that proposed the block
address
string
The address of the proposer
index
integer
The index of the proposer.
Request
1curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/consensus_state'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free