Skip to main content

/getConsensusBlock REST API Endpoint

Get consensus block and its update timestamp.

Updated on
Oct 23, 2024

/getConsensusBlock REST API Endpoint

Parameters

This method does not accept any parameters

Returns

ok
boolean
Indicates the success of the request (true means successful)
result
object
The result object which contains the following fields:
consensus_block
integer
The sequence number of the latest consensus block
timestamp
integer
The Unix timestamp representing when the consensus block was created, including fractional seconds for precision
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getConsensusBlock' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free