/getConsensusBlock - The Open Network (TON)

Example code for the /getConsensusBlock json-rpc method. Сomplete guide on how to use /getConsensusBlock json-rpc in GetBlock.io Web3 documentation.

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

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.