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

Get a document

Last updated on
GET 

/track-and-trace/v1/documents/:documentId

Gets the document corresponding to the ID.

Request

Path Parameters
    documentId stringrequired

    The 32-bytes ID of the document, encoded in hexadecimal.

    Example: 0xbfc90433cfe7cf69119899a96837032bee6c84ba7f6ac9aa008ef2de5eeacfb8

Responses

Success

Schema
    metadata string

    Document's metadata

    timestamp object

    Timestamp object

    datetime string

    The date and time, optionally from transaction input

    source string

    Defines how the datetime was resolved, enumerated options are "block" and "external"

    proof string

    Proof of the source. Either a block number or a hash of timestamp certificate

    events string[]

    List of event hashes

    creator string

    The

    did:key
    or
    did:ebsi
    that created the document

Loading...