New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method /getConsensusBlock undefined ()
connect with JSON-RPC protocol

/getConsensusBlock

info-circle-fill

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
    }
}
banner icon

Start Building with GetBlock RPCs for Free