Blocks
get
Get all blocks in all shards and workchains between target and previous masterchain block according to shards last blocks snapshot in masterchain. We don't recommend to build your app around this method because it has problem with scalability and will work very slow in the future.
Path parameters
masterchain_seqnointeger · int32RequiredExample:
masterchain block seqno
123456
Responses
200
blockchain blocks
application/json
default
Some error during request processing
application/json
get
GET /v2/blockchain/masterchain/{masterchain_seqno}/blocks HTTP/1.1
Host: ton-open-api.nownodes.io
Accept: */*
{
"blocks": [
{
"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"
}
]
},
"burned": {
"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"
}
]
}
},
"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,
"gen_software_version": 0,
"gen_software_capabilities": 0,
"master_ref": "(-1,4234234,8000000000000000)",
"prev_refs": [
[
"(-1",
4234235,
"8000000000000000)"
]
],
"in_msg_descr_length": 0,
"out_msg_descr_length": 0,
"rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
"created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
}
]
}