Query Parameters
- heightintegerREQUIRED
The height to return. If no height is provided, the latest block info is to be fetched. The default value is 0
Returns
- height
The height of the block
- txs_resultsarray
An array containing transaction results
- data
The Base64-encoded data associated with the transaction
- log
A log containing events related to the transaction
- eventsarray
An array containing events associated with the transaction. Each event has a type and attributes
- type
The type of event
- attributes
The attributes associated with the event
- key
The key of the attribute
- value
The value of the attribute
- index
The index of the attribute
- total_gas_used
The total gas used,
- finalize_block_eventsarray
An array containing events related to finalizing the block
- type
The type of event
- attributesarray
An array containing attributes associated with the event
- key
The key of the attribute
- value
The value of the attribute
- index
The index of the attribute
- consensus_param_updatesobject
The Updates to consensus parameters which contains the following fields:
- blockobject
The parameters related to the block
- max_bytes
The maximum block size in bytes
- max_gas
The maximum gas per block
- evidenceobject
The parameters related to evidence handling
- max_age_num_blocks
The maximum age of evidence in terms of blocks
- max_age_duration
The maximum age of evidence in terms of duration
- max_bytes
The maximum size of evidence in bytes
- validatorobject
The parameters related to validators
- pub_key_types
The types of public keys supported by validators
- version
The information about the version