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
- Get details of a specific consensus block
- Access data relevant to consensus validation
- Review block information for network analysis
Constraints
- Requires a valid consensus block ID
- Only supports existing blocks
- Depends on node synchronization
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'
Response
200
{
"ok": true,
"result": {
"consensus_block": 41579741,
"timestamp": 1730411902.161082
}
}
Request params
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.