Skip to main content

consensus_state REST API Endpoint

Retrieves consensus state.

Updated on
Apr 15, 2024

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
Indicates the current height, round number, and step within the consensus process
start_time
The timestamp when the round started
proposal_block_hash
The hash of the proposed block
locked_block_hash
The hash of the locked block
valid_block_hash
The hash of the valid block
height_vote_set
array
Information about the votes for the current height
round
The round number
prevotes
An array of prevotes for this round
prevotes_bit_array
A bit array indicating the prevotes
precommits
An array of precommits for this round
precommits_bit_array
A bit array indicating the precommits
proposer
object
Information about the node that proposed the block
address
The address of the proposer
index
The index of the proposer.
Request
1
curl --location 'https://docs-demo.sei-arctic.quiknode.pro/consensus_state'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free