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: 0x65292ff9c6f87f754fe33a03d0b385b2c2d6bbaedff22438bec39593ce5920f4

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