v1

latestOpenAPI 3.0.1Apache 2.02026-07-177010.3 KB
DID

Get information necessary to solve a retention challenge

Get information needed to calculate a retention solution for DID PUT operations

get/challenge

Response

The current hash and difficulty to calculate a retention solution against, along with an estimated retention guarantee represented by the expiry property

hashstring required

The current hash which is to be used as input for computing a retention solution

hash_sourcestring

The source of the hash as defined by the Hash Source Registry.

difficultyinteger

The current difficulty of the challenge representing the number of bits of leading zeros the resulting hash must contain

expiryinteger required

An approximate expiry date-time value, if a valid Retention Solution is submitted against this challenge, represented as a Unix Timestamp in seconds. The precise expiry date-time value is returned as a part of a PUT operation