Skip to main content

/shards REST API Endpoint

Get shards information.

Updated on
Oct 23, 2024

/shards REST API Endpoint

Query Parameters

seqno
integer
REQUIRED
The masterchain seqno to fetch shards of)

Returns

ok
boolean
Indicates that the request was successful
result
object
The result object which contains the following fields:
@type
string
Specifies that the result is a list of shard blocks
shards
array
An array of shards
@type
string
Indicates that the object is an extended block ID
workchain
integer
This identifies the workchain
shard
string
This identifies the shard within the workchain
seqno
integer
The sequence number of the block
root_hash
string
The root hash of the block, which can be used to verify the integrity of the block
file_hash
string
The file hash of the block, which is a hash of the block's serialized form
@extra
string
An extra field that is used for tracking or correlation purposes
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/shards?seqno=1' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free