Query Parameters
- heightintegerREQUIRED
The block height to return. If no height is provided, the latest block commit info is to be fetched. The default value is 0
Returns
- resultobject
The result object which contains the following fields:
- signed_headerobject
The signed_header object which gives information about the signed block header
- headerobject
The header object which contains the information about the block header
- versionobject
The version of the block and the application
- block
The block version
- app
The application version
- chain_id
The ID of the blockchain
- height
The height of the block
- time
The time at which the block was created
- last_block_idobject
The last_block_id object which contains the information about the last block's ID
- hash
The hash of the last block
- parts
The parts object which contains the information about the parts of the last block
- total
The total number of parts of the last block
- hash
The hash of the parts of the last block
- last_commit_hash
The hash of the last commit
- data_hash
The hash of the block's data
- validators_hash
The hash of the validators
- next_validators_hash
The hash of the next validators
- consensus_hash
The hash of the consensus
- app_hash
The hash of the application
- last_results_hash
The hash of the last results
- evidence_hash
The hash of the evidence
- proposer_address
The address of the proposer
- commitobject
The information about the commit associated with the block
- height
The height of the commit
- round
The round of the commit
- block_idobject
The block_id object which provide the information about the ID of the last commit's block
- hash
The hash of the last commit's block
- partsobject
The parts object which provide the information about the parts of the last commit's block
- total
The total number of parts of the last commit's block
- hash
The hash of the parts of the last commit's block
- signaturesarray
An array of signatures which contains the following fields:
- block_id_flag
The flag for the block ID
- validator_address
The address of the validator who created this signature
- timestamp
The timestamp of the signature
- signature
The signature
- canonical
A boolean value indicating whether the block is canonical or not