FormattedLog

Class in @sentio/sdk/eth

Defined in @sentio/sdk/eth

Extended by

Implements

  • LogParams

Constructors

Constructor

new FormattedLog(raw: any): FormattedLog;

Parameters

ParameterType
rawany

Returns

FormattedLog

Properties

PropertyModifierType
_addresspublicstring
rawreadonlyany

Accessors

address

Get Signature

get address(): string;

The address of the contract that emitted this log.

Returns

string

Implementation of

LogParams.address

blockHash

Get Signature

get blockHash(): string;

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

Returns

string

Implementation of

LogParams.blockHash

blockNumber

Get Signature

get blockNumber(): number;

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

Returns

number

Implementation of

LogParams.blockNumber

data

Get Signature

get data(): string;

The data emitted with this log.

Returns

string

Implementation of

LogParams.data

index

Get Signature

get index(): number;

The index of this log.

Returns

number

Implementation of

LogParams.index

removed

Get Signature

get removed(): boolean;

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

Returns

boolean

Implementation of

LogParams.removed

topics

Get Signature

get topics(): readonly string[];

The topics emitted with this log.

Returns

readonly string[]

Implementation of

LogParams.topics

transactionHash

Get Signature

get transactionHash(): string;

The transaction hash for the transaxction the log occurred in.

Returns

string

Implementation of

LogParams.transactionHash

transactionIndex

Get Signature

get transactionIndex(): number;

The transaction index of this log.

Returns

number

Implementation of

LogParams.transactionIndex

On this page