Get consensus block and its update timestamp.
cURL
curl --request GET \ --url https://toncenter.com/api/v2/getConsensusBlock
200
sample1
{ "ok": true, "result": { "@type": "blocks.masterchainInfo", "last": { "@type": "ton.blockIdExt", "workchain": -1, "shard": "-9223372036854775808", "seqno": 51148869, "root_hash": "HxogBiV2YA+KrC9cJa5llfvDGNk2hwCqsaCSYo40V00=", "file_hash": "h7LOaX0cTqc8qKecsNYi32SVu0McCito3P2qzynvdqk=" }, "state_root_hash": "SU9xlvY1tnXd/E06/9Ls8DOjNcCNpqf4wtJhC0+viok=", "init": { "@type": "ton.blockIdExt", "workchain": -1, "shard": "0", "seqno": 0, "root_hash": "F6OpKZKqvqeFp6CQmFomXNMfMj2EnaUSOXN+Mh+wVWk=", "file_hash": "XplPz01CXAps5qeSWUtxcyBfdAo5zVb1N979KLSKD24=" }, "@extra": "1755813293.2727234:6:0.6121521629223031" } }
Documentation IndexFetch the complete documentation index at: https://companyname-a7d5b98e-3-gasless.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://companyname-a7d5b98e-3-gasless.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Consensus block information from the masterchain.
Show child attributes
Was this page helpful?