curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/masterchainBlockShardState{
"shards": [
{
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
}
]
}Retrieves the shard state of a specific masterchain block
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/masterchainBlockShardState{
"shards": [
{
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
}
]
}masterchainBlockShardState method retrieves the shard state of a specific masterchain block in the TON blockchain. This method provides information about the shards associated with the given masterchain block.
seqno (integer, required) — The sequence number of the masterchain block. Example: 40467413.shards (array) — An array of shard objects, each containing:
workchain (integer) — The workchain ID.shard (string) — The shard identifier.seqno (integer) — The sequence number of the shard block.root_hash (string) — The root hash of the shard block.file_hash (string) — The file hash of the shard block.masterchainBlockShardState method is useful for applications that need to analyze or track the state of shards within the TON blockchain. This information can be valuable for:
Was this page helpful?