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

Get an event

Last updated on
GET 

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

Gets the event corresponding to the document ID and event ID.

Request

Path Parameters
    documentId stringrequired

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

    Example: 0x65292ff9c6f87f754fe33a03d0b385b2c2d6bbaedff22438bec39593ce5920f4
    eventId stringrequired

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

    Example: 0xcc1aea14885d7683ce062c8e3b755c4075ef274199c659d03eafa4a6cc0bb587

Responses

Success

Schema
    metadata string

    Event'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

    sender string

    The

    did:key
    or
    did:ebsi
    that created the event

    origin string

    Most of the times empty field, while it may be a string containing company name, while it can also point into an Event. All assumed relations are external to the SC.

    hash string

    Event hash

    externalHash string

    Externally generated hash

Loading...