Skip to main content

consensus_params REST API Endpoint

Retrieves consensus parameters.

Updated on
Nov 7, 2024

consensus_params REST API Endpoint

Query Parameters

height
integer
REQUIRED
The block height to return. If no height is provided, the latest block commit info is to be returned. The default value is 0

Returns

result
object
The result object with the following fields:
block_height
string
The current block height
consensus_params
object
The consensus_params object which contains the following fields:
block
object
The block object which contains the following fields:
max_bytes
string
The maximum size of a block in bytes
max_gas
string
The maximum gas limit for a block
time_iota_ms
string
The minimum time increment between blocks in milliseconds
evidence
object
The evidence object which contains the following fields:
max_age_num_blocks
string
The maximum number of blocks for evidence validity
max_age_duration
string
The maximum duration for evidence validity in nanoseconds
max_bytes
string
The maximum size of evidence in bytes
validator
object
The validator object which contains the following fields:
pub_key_types
string
An array of supported public key types for validators
version
object
The version object which contains the following fields:
app_version
string
The version of the application
synchrony
object
(Optional) The synchrony object which contains the following fields:
precision
string
Precision for synchronization in nanoseconds
message_delay
string
Delay for message synchronization in nanoseconds
timeout
object
(Optional) The timeout object which contains the following fields:
propose
string
Timeout duration for proposing a block in nanoseconds
propose_delta
string
Propose delta duration in nanoseconds
vote
string
Timeout duration for voting in nanoseconds
vote_delta
string
Vote delta duration in nanoseconds
commit
string
Timeout duration for committing a block in nanoseconds
bypass_commit_timeout
string
Flag indicating whether commit timeout is bypassed
abci
object
(Optional) The abci object which contains the following fields:
vote_extensions_enable_height
string
Height at which vote extensions are enabled
recheck_tx
string
Flag indicating whether to recheck transaction
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/consensus_params?height=2730923'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free