v1
latestOpenAPI 3.0.02026-07-17151326.9 KBAnchor
Gets the latest logical anchor time. This API allows the Observer and Batch Writer to determine protocol version to be used.
A anchor time hash must not be predictable/pre-computable, a canonical implementation would be to use the block number as the time and the block hash as the time hash. It is intentional that the concepts related to anchor blocks are hidden from the layers above.
get/anchor/time
Response
Success
Example response
{
"time": "545236",
"hash": "0000000000000000002443210198839565f8d40a6b897beac8669cf7ba629051",
"previous_hash": "0000000000000000002443210198839565f8d40a6b897beac8669cf7ba629051"
}