curl --request GET \
--url https://toncenter.com/api/v2/getBlockHeader{
"ok": true,
"result": {
"@type": "blocks.header",
"id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"global_id": 123,
"version": 123,
"after_merge": true,
"after_split": true,
"before_split": true,
"want_merge": true,
"want_split": true,
"validator_list_hash_short": 123,
"catchain_seqno": 123,
"min_ref_mc_seqno": 123,
"is_key_block": true,
"prev_key_block_seqno": 123,
"start_lt": "<string>",
"end_lt": "<string>",
"gen_utime": 123,
"prev_blocks": [
{
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
}
]
}
}Get block header information
curl --request GET \
--url https://toncenter.com/api/v2/getBlockHeader{
"ok": true,
"result": {
"@type": "blocks.header",
"id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"global_id": 123,
"version": 123,
"after_merge": true,
"after_split": true,
"before_split": true,
"want_merge": true,
"want_split": true,
"validator_list_hash_short": 123,
"catchain_seqno": 123,
"min_ref_mc_seqno": 123,
"is_key_block": true,
"prev_key_block_seqno": 123,
"start_lt": "<string>",
"end_lt": "<string>",
"gen_utime": 123,
"prev_blocks": [
{
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://toncenter.ness.su/llms.txt
Use this file to discover all available pages before exploring further.
Workchain ID
Shard ID
Seqno of a block
Root hash of a block
File hash of a block
Was this page helpful?