curl --request GET \
--url https://toncenter.com/api/v3/blocks{
"blocks": [
{
"after_merge": true,
"after_split": true,
"before_split": true,
"created_by": "<string>",
"end_lt": "0",
"file_hash": "<string>",
"flags": 123,
"gen_catchain_seqno": 123,
"gen_utime": "0",
"global_id": 123,
"key_block": true,
"master_ref_seqno": 123,
"masterchain_block_ref": {
"seqno": 123,
"shard": "0",
"workchain": 123
},
"min_ref_mc_seqno": 123,
"prev_blocks": [
{
"seqno": 123,
"shard": "0",
"workchain": 123
}
],
"prev_key_block_seqno": 123,
"rand_seed": "<string>",
"root_hash": "<string>",
"seqno": 123,
"shard": "0",
"start_lt": "0",
"tx_count": 123,
"validator_list_hash_short": 123,
"version": 123,
"vert_seqno": 123,
"vert_seqno_incr": true,
"want_merge": true,
"want_split": true,
"workchain": 123
}
]
}Returns blocks by specified filters.
curl --request GET \
--url https://toncenter.com/api/v3/blocks{
"blocks": [
{
"after_merge": true,
"after_split": true,
"before_split": true,
"created_by": "<string>",
"end_lt": "0",
"file_hash": "<string>",
"flags": 123,
"gen_catchain_seqno": 123,
"gen_utime": "0",
"global_id": 123,
"key_block": true,
"master_ref_seqno": 123,
"masterchain_block_ref": {
"seqno": 123,
"shard": "0",
"workchain": 123
},
"min_ref_mc_seqno": 123,
"prev_blocks": [
{
"seqno": 123,
"shard": "0",
"workchain": 123
}
],
"prev_key_block_seqno": 123,
"rand_seed": "<string>",
"root_hash": "<string>",
"seqno": 123,
"shard": "0",
"start_lt": "0",
"tx_count": 123,
"validator_list_hash_short": 123,
"version": 123,
"vert_seqno": 123,
"vert_seqno_incr": true,
"want_merge": true,
"want_split": true,
"workchain": 123
}
]
}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.
Block workchain.
Block shard id. Must be sent with workchain. Example: 8000000000000000.
Block block seqno. Must be sent with workchain and shard.
Block root hash.
Block file hash.
Masterchain block seqno
Query blocks with generation UTC timestamp after given timestamp.
Query blocks with generation UTC timestamp before given timestamp.
Query blocks with lt >= start_lt.
Query blocks with lt <= end_lt.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort results by UTC timestamp.
asc, desc OK
Show child attributes
Was this page helpful?