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
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_bytesstring
The maximum size of a block in bytes
- max_gasstring
The maximum gas limit for a block
- max_txsstring
The maximum transaction 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_typesarray
An array of supported public key types for validators
- versionobject
The version object which contains the following fields:
- appstring
The version of the application
- synchronyobject
(Optional) The synchrony object which contains the following fields:
- precisionstring
Precision for synchronization in nanoseconds
- message_delaystring
Delay for message synchronization in nanoseconds
- timeoutobject
(Optional) The timeout object which contains the following fields:
- proposestring
Timeout duration for proposing a block in nanoseconds
- propose_deltastring
Propose delta duration in nanoseconds
- votestring
Timeout duration for voting in nanoseconds
- vote_deltastring
Vote delta duration in nanoseconds
- commitstring
Timeout duration for committing a block in nanoseconds
- bypass_commit_timeoutboolean
Flag indicating whether commit timeout is bypassed
- abciobject
The abci object which contains the following fields:
- vote_extensions_enable_heightstring
Height at which vote extensions are enabled
- recheck_txboolean
(Optional) Flag indicating whether to recheck transaction