TON
POST
GET
Last updated on January 1, 1970
2 min read
Method /shards undefined ()
connect with JSON-RPC protocol
/shards
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
}
]
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }