POSTGet masterchain info
https://ton-mainnet.nodit.io/api/v2/getMasterchainInfoReturns the current state of the TON masterchain. The last field contains the latest block used for querying current state. The seqno in last is the current block height. Use this endpoint to obtain the latest block reference for other queries.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for masterchain state info. Refer to the TonLib type reference for a full list.
The most recent masterchain block.
TonLib type identifier for full block identifiers. Refer to the TonLib type reference for a full list.
Workchain ID: -1 for masterchain, 0 for basechain.
Shard identifier as a signed 64-bit integer string. Masterchain uses -9223372036854775808.
Block sequence number within its workchain and shard. For the masterchain (workchain -1), this equals the global block height. For basechain shards (workchain 0), this is the sequence number local to that specific shard, not a global height.
Root hash of the block. Together with file_hash, uniquely identifies a block.
Hash of the serialized block file. Together with root_hash, uniquely identifies a block.
SHA-256 Merkle root hash of the entire blockchain state at the latest block.
The genesis (first) masterchain block.
TonLib type identifier for full block identifiers. Refer to the TonLib type reference for a full list.
Workchain ID: -1 for masterchain, 0 for basechain.
Shard identifier as a signed 64-bit integer string. Masterchain uses -9223372036854775808.
Block sequence number within its workchain and shard. For the masterchain (workchain -1), this equals the global block height. For basechain shards (workchain 0), this is the sequence number local to that specific shard, not a global height.
Root hash of the block. Together with file_hash, uniquely identifies a block.
Hash of the serialized block file. Together with root_hash, uniquely identifies a block.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.