Get metadata of a given block.
curl --request GET \
--url https://toncenter.com/api/v2/getBlockHeader{
"ok": true,
"result": {
"@type": "blocks.header",
"id": {
"@type": "ton.blockIdExt",
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 1,
"root_hash": "8GYhhrigd8CwZGrRT59iulLDcgiTYuvOAzFJxugc0Ts=",
"file_hash": "V+XzykEwun4yePZhAEPZk77RbMfMOgS/S4GiJkSKY6s="
},
"global_id": -239,
"version": 0,
"after_merge": false,
"after_split": false,
"before_split": false,
"want_merge": false,
"want_split": false,
"validator_list_hash_short": -1447544682,
"catchain_seqno": 0,
"min_ref_mc_seqno": 1,
"is_key_block": false,
"prev_key_block_seqno": 0,
"start_lt": "1000000",
"end_lt": "1000012",
"gen_utime": 1573822385,
"prev_blocks": [
{
"@type": "ton.blockIdExt",
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 0,
"root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=",
"file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24="
}
],
"@extra": "1755814930.1088252:0:0.1467032130574265"
}
}Successful Response
Header information of the specified block.
Show child attributes
Global network identifier.
Block format version.
Block generation UNIX timestamp.
"blocks.header"
True if block was created after a merge.
True if block was created after a split.
True if block was created before a split.
Indicates if validators wanted a merge.
Indicates if validators wanted a split.
Short hash of validator list.
Catchain sequence number.
Minimum referenced masterchain seqno.
True if this block is a key block.
Previous key block sequence number.
Starting logical time.
Ending logical time.
List of previous block identifiers.
Show child attributes
Extra metadata for the response.
Was this page helpful?
curl --request GET \
--url https://toncenter.com/api/v2/getBlockHeader{
"ok": true,
"result": {
"@type": "blocks.header",
"id": {
"@type": "ton.blockIdExt",
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 1,
"root_hash": "8GYhhrigd8CwZGrRT59iulLDcgiTYuvOAzFJxugc0Ts=",
"file_hash": "V+XzykEwun4yePZhAEPZk77RbMfMOgS/S4GiJkSKY6s="
},
"global_id": -239,
"version": 0,
"after_merge": false,
"after_split": false,
"before_split": false,
"want_merge": false,
"want_split": false,
"validator_list_hash_short": -1447544682,
"catchain_seqno": 0,
"min_ref_mc_seqno": 1,
"is_key_block": false,
"prev_key_block_seqno": 0,
"start_lt": "1000000",
"end_lt": "1000012",
"gen_utime": 1573822385,
"prev_blocks": [
{
"@type": "ton.blockIdExt",
"workchain": -1,
"shard": "-9223372036854775808",
"seqno": 0,
"root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=",
"file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24="
}
],
"@extra": "1755814930.1088252:0:0.1467032130574265"
}
}