New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

2 min read

Method /shards undefined ()
connect with JSON-RPC protocol

/shards

info-circle-fill

Get shards information.

Parameters

seqno - query

required, integer

Masterchain seqno to fetch shards of.

Request

curl --location --request GET 'https://ton.getblock.io/mainnet/shards?seqno=30497145' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "ok": true,
    "result": {
        "@extra": "1687338545.963773:2:0.6247463132596943",
        "@type": "blocks.shards",
        "shards": [
            {
                "@type": "ton.blockIdExt",
                "file_hash": "7+lqLAwGnSkAucY1bbf/79LwKdtEjrCd3BvtkN8NzyQ=",
                "root_hash": "TqVSpe+5Dxx+RnBdvJ/tJeg13/nAAh9mjR/C+Jy4mmM=",
                "seqno": 36175355,
                "shard": "-9223372036854775808",
                "workchain": 0
            }
        ]
    }
}
banner icon

Start Building with GetBlock RPCs for Free