Get metadata of a given block.
cURL
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" } }
Documentation IndexFetch the complete documentation index at: https://companyname-a7d5b98e-3-gasless.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://companyname-a7d5b98e-3-gasless.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Header information of the specified block.
Show child attributes
Was this page helpful?