get https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v3/masterchainBlockShardState
Retrieves the shard state of a specific masterchain block
The 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.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
seqno
(integer, required) β The sequence number of the masterchain block. Example:40467413
.
Response
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.
Use case
The 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:
- Blockchain explorers that want to display detailed information about the structure of the TON blockchain.
- Analytics tools that need to monitor the distribution of shards across workchains.
- Developers building applications that require knowledge of the current state of shards for optimization or routing purposes.
Try the masterchainBlockShardState
RPC method yourself
masterchainBlockShardState
RPC method yourself