Query Parameters
- heightintegerREQUIRED
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
- resultobject
The result object with the following fields:
- block_height
The current block height
- consensus_paramsobject
The consensus_params object which contains the following fields:
- blockobject
The block object which contains the following fields:
- max_bytes
The maximum size of a block in bytes
- max_gas
The maximum gas limit for a block
- evidenceobject
The evidence object which contains the following fields:
- max_age_num_blocks
The maximum number of blocks for evidence validity
- max_age_duration
The maximum duration for evidence validity in nanoseconds
- max_bytes
The maximum size of evidence in bytes
- validatorobject
The validator object which contains the following fields:
- pub_key_types
An array of supported public key types for validators
- versionobject
The version object which contains the following fields:
- app_version
The version of the application
- synchronyobject
The synchrony object which contains the following fields:
- precision
Precision for synchronization in nanoseconds
- message_delay
Delay for message synchronization in nanoseconds
- timeoutobject
The timeout object which contains the following fields:
- propose
Timeout duration for proposing a block in nanoseconds
- propose_delta
Propose delta duration in nanoseconds
- vote
Timeout duration for voting in nanoseconds
- vote_delta
Vote delta duration in nanoseconds
- commit
Timeout duration for committing a block in nanoseconds
- bypass_commit_timeout
Flag indicating whether commit timeout is bypassed
- abciobject
The abci object which contains the following fields:
- vote_extensions_enable_height
Height at which vote extensions are enabled
- recheck_tx
Flag indicating whether to recheck transaction