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
- heightstring
The height of the block
- txs_resultsarray
An array containing transaction results
- codeinteger
Represents the execution status of the transaction
- datastring
The Base64-encoded data associated with the transaction
- logstring
A log containing events related to the transaction
- infostring
The additional information about the transaction
- gas_wantedstring
Represents the amount of gas that was initially requested for executing the transaction
- gas_usedstring
Represents the actual amount of gas consumed during the transaction execution
- eventsarray
An array containing events associated with the transaction. Each event has a type and attributes
- typestring
The type of event
- attributesstring
The attributes associated with the event
- keystring
The key of the attribute
- valuestring
The value of the attribute
- indexboolean
The index of the attribute
- codespacestring
The namespace for the error code
- validator_updatesstring
Represents updates to the validator set in the blockchain
- finalize_block_eventsarray
An array containing events related to finalizing the block
- typestring
The type of event
- attributesarray
An array containing attributes associated with the event
- keystring
The key of the attribute
- valuestring
The value of the attribute
- indexinteger
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_bytesstring
The maximum block size in bytes
- max_gasstring
The maximum gas per block
- max_txsstring
The maximum transaction per block
- evidenceobject
The parameters related to evidence handling
- max_age_num_blocksstring
The maximum age of evidence in terms of blocks
- max_age_durationstring
The maximum age of evidence in terms of duration
- max_bytesstring
The maximum size of evidence in bytes
- validatorobject
The parameters related to validators
- pub_key_typesarray
The types of public keys supported by validators
- versionstring
The information about the version
- abciobject
An object containing metadata and execution results returned by the Application Blockchain Interface
- app_hashstring
A cryptographic hash representing the application state after the block's execution
- event_plaintextboolean
A flag indicating whether events in the transaction result are stored or transmitted in plaintext (true) or encoded (false)