The LogsClient class provides methods to interact with log-related endpoints of the VeChainThor blockchain. It allows filtering event and transfer logs.

Constructors

Properties

blocksModule: BlocksModule

Methods

  • Filters event logs based on the provided criteria and decodes them using the provided ABI items. The decoded data is added to the event logs as a new property.

    Parameters

    Returns Promise<EventLogs[]>

  • Filters event logs based on the provided criteria and decodes them using the provided ABI items. The decoded data is added to the event logs as a new property. The result is an array of event logs grouped by the event topic hash.

    Parameters

    Returns Promise<EventLogs[][]>

    A promise that resolves to an array of event logs grouped by event.