Skip to main content
GET
/
getShardBlockProof
Get shard block proof
curl --request GET \
  --url https://toncenter.com/api/v2/getShardBlockProof
{
  "ok": true,
  "result": {
    "from": {
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>",
      "@type": "ton.blockIdExt"
    },
    "mc_id": {
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>",
      "@type": "ton.blockIdExt"
    },
    "@type": "blocks.shardBlockProof",
    "links": [
      {}
    ],
    "mc_proof": [
      {}
    ],
    "@extra": "<string>"
  },
  "error": "<string>",
  "code": 123
}

Query Parameters

workchain
integer
required

Block workchain id

shard
integer
required

Block shard id

seqno
integer
required

Block seqno

from_seqno
integer

Seqno of masterchain block starting from which proof is required. If not specified latest masterchain block is used.

Response

Successful Response

ok
boolean
required
result
Result · object

Proof of inclusion of a shard block in the masterchain.

error
string
code
integer