Constructors
constructor
- new Event(receiptId, rawEvent): Event
Properties
Private
Readonly
rawEvent
Readonly
receiptId
receiptId: string
Accessors
data
- get data(): undefined | JSON
Returns undefined | JSON
event
- get event(): string
Returns string
relatedReceiptId
- get relatedReceiptId(): string
Returns string
standard
- get standard(): string
Returns string
version
- get version(): string
Returns string
Methods
Static
fromLog
- fromLog(log, receiptId?): Event
Parameters
log: string
receiptId: string = ""
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. nep171version
: e.g. 1.0.0event
: type of the event, e.g.nft_mint
data
: associate event data. Strictly typed for each set {standard, version, event} inside corresponding NEP