Anchor
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"
}Changes
Changed in 2 of the 7 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲