Skip to main content

Class: EvmLog

moralis-monorepo / @moralisweb3/common-evm-utils / EvmLog

Class: EvmLog

@moralisweb3/common-evm-utils.EvmLog

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmLog

Parameters

NameType
inputEvmLogInput | EvmLog

Returns

EvmLog


fromJSON

Static fromJSON(json): EvmLog

Parameters

NameType
jsonEvmLogJSON

Returns

EvmLog


toJSON

toJSON(): EvmLogJSON

Returns

EvmLogJSON

Properties

address

Readonly address: EvmAddress

Description

The address of the contract


blockHash

Readonly blockHash: string

Description

The hash of the block


blockNumber

Readonly blockNumber: BigNumber

Description

The block number


blockTimestamp

Readonly blockTimestamp: string

Description

The timestamp of the block


data

Readonly data: string

Description

The data of the log


logIndex

Readonly logIndex: number


topic0

Readonly topic0: string


topic1

Optional Readonly topic1: string


topic2

Optional Readonly topic2: string


topic3

Optional Readonly topic3: string


transactionHash

Readonly transactionHash: string

Description

The hash of the transaction


transactionIndex

Readonly transactionIndex: number