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

Query Parameters

seqno
integer
required

Masterchain seqno to fetch shards of.

Response

Successful Response

ok
boolean
required
result
Result · object

List of shard blocks at a given masterchain seqno.

error
string
code
integer