Skip to main content

/getConsensusBlock REST API Endpoint

Get consensus block and its update timestamp.

Updated on
Oct 23, 2024

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
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free