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/blockchain/blocks/{block_id}
{ "tx_quantity": 130, "value_flow": { "from_prev_blk": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "to_next_blk": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "imported": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "exported": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "fees_collected": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "fees_imported": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "recovered": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "created": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "minted": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] }, "burned": { "grams": 10000000000, "other": [ { "id": 13, "value": "10000000000" } ] } }, "workchain_id": 0, "shard": "8000000000000000", "seqno": 21734019, "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB", "global_id": -239, "version": 0, "after_merge": true, "before_split": true, "after_split": true, "want_split": true, "want_merge": true, "key_block": true, "gen_utime": 1674826775, "start_lt": 23814011000000, "end_lt": 23814011000001, "vert_seqno": 0, "gen_catchain_seqno": 0, "min_ref_mc_seqno": 0, "prev_key_block_seqno": 0, "prev_refs": [ [ "(-1", 4234235, "8000000000000000)" ] ], "in_msg_descr_length": 0, "out_msg_descr_length": 0, "rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB", "gen_software_version": 0, "gen_software_capabilities": 0, "master_ref": "(-1,4234234,8000000000000000)" }
{ "error": "<string>", "error_code": 123, "details": { "required": 123, "available": 123 } }
Get blockchain block data
block ID
"(-1,8000000000000000,4234234)"
blockchain block
130
Show child attributes
0
"8000000000000000"
21734019
"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
"A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
-239
true
1674826775
23814011000000
23814011000001
"(-1,4234234,8000000000000000)"
Was this page helpful?