Version: 0.13.7

Class: Event

"Event".Event

The Event class contains all methods related to retrieving event logs. It is meant to be called via a TLNetwork instance like:

const tlNetwork = new TLNetwork(
//...
)
// Get transfer logs
tlNetwork.event.get(
// ...
).then(
events => console.log("Events of loaded user:", events)
)

Hierarchy#

  • Event

Methods#

getAll#

getAll(filter?: EventFilterOptions): Promise<AnyEvent[]>

Defined in src/Event.ts:101

Returns event logs of loaded user in all currency networks / EthWrappers / Exchanges.

Parameters:#

NameTypeDefault valueDescription
filterEventFilterOptions{}Event filter object. See EventFilterOptions for more information.

Returns: Promise<AnyEvent[]>