TON
POST
GET
Last updated on January 1, 1970
1 min read
Method /getConsensusBlock undefined ()
connect with JSON-RPC protocol
/getConsensusBlock
Get consensus block and its update timestamp.
Parameters
-
Request
curl --location --request GET 'https://ton.getblock.io/mainnet/getConsensusBlock'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
Response
{
"ok": true,
"result": {
"consensus_block": 30517698,
"timestamp": 1687338534.241151
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }