commit REST API Endpoint
Query Parameters
height
integer
REQUIRED
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
result
object
The result object which contains the following fields:
signed_header
object
The signed_header object which gives information about the signed block header
header
object
The header object which contains the information about the block header
version
object
The version of the block and the application
block
string
The block version
app
string
The application version
chain_id
string
The ID of the blockchain
height
string
The height of the block
time
string
The time at which the block was created
last_block_id
object
The last_block_id object which contains the information about the last block's ID
hash
string
The hash of the last block
parts
string
The parts object which contains the information about the parts of the last block
total
integer
The total number of parts of the last block
hash
string
The hash of the parts of the last block
last_commit_hash
string
The hash of the last commit
data_hash
string
The hash of the block's data
validators_hash
string
The hash of the validators
next_validators_hash
string
The hash of the next validators
consensus_hash
string
The hash of the consensus
app_hash
string
The hash of the application
last_results_hash
string
The hash of the last results
evidence_hash
string
The hash of the evidence
proposer_address
string
The address of the proposer
commit
object
The information about the commit associated with the block
height
string
The height of the commit
round
integer
The round of the commit
block_id
object
The block_id object which provide the information about the ID of the last commit's block
hash
string
The hash of the last commit's block
parts
object
The parts object which provide the information about the parts of the last commit's block
total
integer
The total number of parts of the last commit's block
hash
string
The hash of the parts of the last commit's block
signatures
array
An array of signatures which contains the following fields:
block_id_flag
integer
The flag for the block ID
validator_address
string
The address of the validator who created this signature
timestamp
string
The timestamp of the signature
signature
string
The signature
canonical
boolean
A boolean value indicating whether the block is canonical or not
Request
1curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/commit?height=2698573'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free