Skip to main content

cometbft/v1/block/{height} REST API Endpoint

Returns the CometBFT block at the specified height, including the block header, transactions, evidence, and last commit data.

Updated on
Apr 01, 2026

Path Parameters

height
integer
REQUIRED

The block height to query. Must be a positive integer representing the CometBFT block height

Returns

data
object

The CometBFT block object

header
object

The block header containing metadata about the block

version
object

The consensus version information

block
string

The block version number

app
string

The application version number

chain_id
string

The chain identifier

height
string

The block height

time
string

The timestamp of the block in RFC3339 format

last_block_id
object

The ID of the previous block

hash
string

The hash of the previous block

parts
object

The part set header of the previous block

total
integer

The total number of parts

hash
string

The hash of the part set

last_commit_hash
string

The hash of the last commit

data_hash
string

The hash of the block's data (transactions)

validators_hash
string

The hash of the current validator set

next_validators_hash
string

The hash of the next validator set

consensus_hash
string

The hash of the consensus parameters

app_hash
string

The application state hash after the previous block

last_results_hash
string

The hash of the results of the last block's transactions

evidence_hash
string

The hash of the evidence included in the block

proposer_address
string

The address of the block proposer

data
object

The block's transaction data

txs
array

An array of base64-encoded transactions included in the block

evidence
object

The evidence of Byzantine behavior included in the block

evidence
array

An array of evidence objects

last_commit
object

The commit data from the previous block

height
string

The height of the block being committed

round
integer

The consensus round number

block_id
object

The ID of the block being committed

hash
string

The hash of the block

parts
object

The part set header

total
integer

The total number of parts

hash
string

The hash of the part set

signatures
array

An array of validator commit signatures

block_id_flag
integer

The block ID flag indicating the type of vote (1=Absent, 2=Commit, 3=Nil)

validator_address
string

The address of the validator

timestamp
string

The timestamp of the signature

signature
string

The base64-encoded validator signature

Request
Response
1
{
2
"data": {
3
"header": {
4
"version": {
5
"block": "11",
6
"app": "0"
7
},
8
"chain_id": "berachain-mainnet-1",
9
"height": "100",
10
"time": "2025-02-06T18:00:00.000000Z",
11
"last_block_id": {
12
"hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
13
"parts": {
14
"total": 1,
15
"hash": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
16
}
17
},
18
"last_commit_hash": "C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
19
"data_hash": "D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5",
20
"validators_hash": "E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
21
"next_validators_hash": "E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
22
"consensus_hash": "F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1",
23
"app_hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
24
"last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
25
"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
26
"proposer_address": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
27
},
28
"data": {
29
"txs": []
30
},
31
"evidence": {
32
"evidence": []
33
},
34
"last_commit": {
35
"height": "99",
36
"round": 0,
37
"block_id": {
38
"hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
39
"parts": {
40
"total": 1,
41
"hash": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
42
}
43
},
44
"signatures": [
45
{
46
"block_id_flag": 2,
47
"validator_address": "C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
48
"timestamp": "2025-02-06T18:00:00.000000Z",
49
"signature": "dGVzdC1zaWduYXR1cmUtZGF0YQ=="
50
}
51
]
52
}
53
}
54
}
1
{
2
"data": {
3
"header": {
4
"version": {
5
"block": "11",
6
"app": "0"
7
},
8
"chain_id": "berachain-mainnet-1",
9
"height": "100",
10
"time": "2025-02-06T18:00:00.000000Z",
11
"last_block_id": {
12
"hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
13
"parts": {
14
"total": 1,
15
"hash": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
16
}
17
},
18
"last_commit_hash": "C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
19
"data_hash": "D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5",
20
"validators_hash": "E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
21
"next_validators_hash": "E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6",
22
"consensus_hash": "F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1",
23
"app_hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
24
"last_results_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
25
"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
26
"proposer_address": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
27
},
28
"data": {
29
"txs": []
30
},
31
"evidence": {
32
"evidence": []
33
},
34
"last_commit": {
35
"height": "99",
36
"round": 0,
37
"block_id": {
38
"hash": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2",
39
"parts": {
40
"total": 1,
41
"hash": "B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3"
42
}
43
},
44
"signatures": [
45
{
46
"block_id_flag": 2,
47
"validator_address": "C3D4E5F6A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4",
48
"timestamp": "2025-02-06T18:00:00.000000Z",
49
"signature": "dGVzdC1zaWduYXR1cmUtZGF0YQ=="
50
}
51
]
52
}
53
}
54
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free