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_heightstring
(Optional) The current block height
- consensus_paramsobject
(Optional) The consensus_params object which contains the following fields:
- blockobject
The block object which contains the following fields:
- max_bytesstring
The maximum size of a block in bytes
- max_gasstring
The maximum gas limit for a block
- evidenceobject
The evidence object which contains the following fields:
- max_age_num_blocksstring
The maximum number of blocks for evidence validity
- max_age_durationstring
The maximum duration for evidence validity in nanoseconds
- max_bytesstring
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:
- appstring
The version of the application
- abciobject
The abci object which contains the following fields:
- vote_extensions_enable_heightstring
Height at which vote extensions are enabled