This structure is an ephemeral entity to provide access to the Events Standard structure and keep data about the related Receipt for convenience.

Interface for Capturing Data About an Event in handleStreamerMessage()

The interface to capture data about an event has the following arguments:

  • standard: name of standard, e.g. nep171
  • version: e.g. 1.0.0
  • event: type of the event, e.g. nft_mint
  • data: associate event data. Strictly typed for each set {standard, version, event} inside corresponding NEP

Constructors

Properties

rawEvent: RawEvent
receiptId: string

Accessors

  • get data(): undefined | JSON
  • Returns undefined | JSON

  • get relatedReceiptId(): string
  • Returns string

Methods

  • Parameters

    • log: string
    • receiptId: string = ""

    Returns Event

Generated using TypeDoc