Skip to main content
GET
/
api
/
v2
/
getMasterchainInfo
Get Masterchain Info
curl --request GET \
  --url https://toncenter.com/api/v2/getMasterchainInfo
{ "ok": true, "result": { "@type": "blocks.masterchainInfo", "last": { "@type": "ton.blockIdExt", "workchain": 123, "shard": "<string>", "seqno": 123, "root_hash": "<string>", "file_hash": "<string>" }, "state_root_hash": "<string>", "init": { "@type": "ton.blockIdExt", "workchain": 123, "shard": "<string>", "seqno": 123, "root_hash": "<string>", "file_hash": "<string>" } } }

Documentation Index

Fetch the complete documentation index at: https://toncenter.ness.su/llms.txt

Use this file to discover all available pages before exploring further.

Response

OK

ok
boolean
required
Example:

true

result
MasterchainInfo · object
required

Information about the latest masterchain block.