Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://tonapi.io/v2/liteserver/get_block_header/{block_id}
{ "id": { "workchain": 4294967295, "shard": "800000000000000", "seqno": 30699640, "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB" }, "mode": 0, "header_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85" }
{ "error": "<string>", "error_code": 123, "details": { "required": 123, "available": 123 } }
Get raw blockchain block header
block ID: (workchain,shard,seqno,root_hash,file_hash)
"(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
mode
0
raw blockchain block header
Show child attributes
"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
Was this page helpful?