Interface TypedEvent<TArgsArray, TArgsObject>

interface TypedEvent<TArgsArray extends any[] = any, TArgsObject = any> {
    address: string;
    args: TArgsObject & IResult;
    blockHash: string;
    blockNumber: number;
    data: string;
    index: number;
    name: string;
    removed: boolean;
    topics: readonly string[];
    transactionHash: string;
    transactionIndex: number;
}

Type Parameters

  • TArgsArray extends any[] = any
  • TArgsObject = any

Hierarchy

  • LogParams
    • TypedEvent

Properties

address: string

The address of the contract that emitted this log.

blockHash: string

The block hash of the block that included the transaction for this log.

blockNumber: number

The block number of the block that included the transaction for this log.

data: string

The data emitted with this log.

index: number

The index of this log.

name: string
removed: boolean

Whether this log was removed due to the transaction it was included in being removed dur to an orphaned block.

topics: readonly string[]

The topics emitted with this log.

transactionHash: string

The transaction hash for the transaxction the log occurred in.

transactionIndex: number

The transaction index of this log.