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

This API is being released as part of an upcoming version.

The upcoming version is not backward compatible with the current stable version. You can find the details of the upcoming release and affected endpoints in the change log. Please contact eu-ebsi@ec.europa.eu if this upcoming release might cause a high impact on either an ongoing development or a piloting demonstration.

Get a timestamp

GET 

/timestamp/v4/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 Conformance timestampId

    Example: uEiBIzxkI4bvszQvBhBRAKnq5v6mGzocYtw1xUJasM0KDtw

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...