ILog

It is predefined interface containing log data.

Field
Description

log_index

The log's index position in the block.

log_transaction_hash

Hash of the transaction this log was created from.

log_transaction_index

The transaction's index position in the block.

log_address

Address from which this log originated.

log_data

Contains one or more 32-byte non-indexed arguments of the log.

topics

Array of 0 to 4 32-byte hex of indexed log arguments.

export interface ILog {
  log_index: string;
  log_transaction_hash: string;
  log_transaction_index: string;
  log_address: string;
  log_data: string;
  topics: string[];
}