Skip to main content
European CommissionEBSI European Blockchain
Select the Environment you want to work withEnvironment:

Get a timestamp

Last updated on
GET 

/timestamp/v3/timestamps/:timestampId

Returns a timestamp identified by its ID.

Request

Path Parameters

    timestampId stringrequired

    Multihash of the sha256 of the original hash, encoded in multibase base64url.

    timestampId = multibase_base64url(multihash(sha256(original_hash)))

    Example: let's assume the original hash is a sha3-224 with the value

    0xb2a8e000d1f25778cecf6b29fc0e7f811fb5f4a3a8230585e9056921
    .

    It is stored in the smart contract with the timestamp ID

    0xb2a8e000d1f25778cecf6b29fc0e7f811fb5f4a3a8230585e9056921
    , which corresponds to the sha256 of the original hash.

    The multihash representation of

    0xb2a8e000d1f25778cecf6b29fc0e7f811fb5f4a3a8230585e9056921
    is
    EiCPQS4deZG8y1FXlG9sW1vDfMbpulXYTkn0HWj2OWd61A
    (encoded in base64url).

    At the API-level, the timestamp ID is then

    uEiCPQS4deZG8y1FXlG9sW1vDfMbpulXYTkn0HWj2OWd61A
    , i.e. it's the multibase base64url (prefix "u") encoded multihash.

    Examples:

    Description: Valid pilot timestampId

    Example: uEiBrUuxV-ybYtSQ4oiczDhFkmUR7Wk6QtF26SXaD9h9RTg

Responses

Success

Schema
    hash string

    Timestamped hash (multi-hash, base64 multi-encoded)

    timestampedBy string

    Address of the transaction signer that timestamped the information.

    blockNumber integer

    Number of the block in which the hash has been timestamped.

    timestamp string

    Timestamp in ISO 8601 format

    transactionHash string

    Hash of the transaction/transaction id.

    data string

    Additional timestamp data (bytes, serialized JSON-LD)

Loading...