curl --request GET \
--url https://toncenter.com/api/v2/getShardBlockProof{
"ok": true,
"result": {
"@type": "blocks.shardBlockProof",
"from": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"mc_id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"links": [
{
"@type": "blocks.shardBlockLink",
"id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"proof": "<string>"
}
],
"mc_proof": [
{
"@type": "blocks.blockLinkBack",
"to_key_block": true,
"from": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"to": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"dest_proof": "<string>",
"proof": "<string>",
"state_proof": "<string>"
}
]
}
}Get merkle proof of shard block
curl --request GET \
--url https://toncenter.com/api/v2/getShardBlockProof{
"ok": true,
"result": {
"@type": "blocks.shardBlockProof",
"from": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"mc_id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"links": [
{
"@type": "blocks.shardBlockLink",
"id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"proof": "<string>"
}
],
"mc_proof": [
{
"@type": "blocks.blockLinkBack",
"to_key_block": true,
"from": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"to": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"dest_proof": "<string>",
"proof": "<string>",
"state_proof": "<string>"
}
]
}
}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.
Workchain ID
Shard ID
Seqno of a block
Seqno of masterchain block starting from which proof is required. If not specified latest masterchain block is used
Was this page helpful?