getConsensusBlock - Ton

getConsensusBlock. Retrieves information about a specific consensus block, including its details and transaction history.

getConsensusBlock - ton [Value: 100CU]
Retrieves information about a specific consensus block, including its details and transaction history.
Use cases

Use cases

  • Get details of a specific consensus block
  • Access data relevant to consensus validation
  • Review block information for network analysis
Constraints

Constraints

  • Requires a valid consensus block ID
  • Only supports existing blocks
  • Depends on node synchronization
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url  'https://ton.drpc.org/rest/getConsensusBlock' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": {
        "consensus_block": 41579741,
        "timestamp": 1730411902.161082
    }
}
Copy

Request params

ParametersThis method does not accept any parameters.

Response

200

Response params

object
okboolean
Indicates whether the request was successful.
resultobject
Contains the main result data.
object
consensus_blockinteger
The number of the consensus block.
timestampnumber
The timestamp associated with the consensus block in Unix time format.