FormattedLog
Class in @sentio/sdk/eth
Defined in @sentio/sdk/eth
Extended by
Implements
LogParams
Constructors
Constructor
new FormattedLog(raw: any): FormattedLog;Parameters
| Parameter | Type |
|---|---|
raw | any |
Returns
FormattedLog
Properties
Accessors
address
Get Signature
get address(): string;The address of the contract that emitted this log.
Returns
string
Implementation of
LogParams.addressblockHash
Get Signature
get blockHash(): string;The block hash of the block that included the transaction for this log.
Returns
string
Implementation of
LogParams.blockHashblockNumber
Get Signature
get blockNumber(): number;The block number of the block that included the transaction for this log.
Returns
number
Implementation of
LogParams.blockNumberdata
Get Signature
get data(): string;The data emitted with this log.
Returns
string
Implementation of
LogParams.dataindex
Get Signature
get index(): number;The index of this log.
Returns
number
Implementation of
LogParams.indexremoved
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.removedtopics
Get Signature
get topics(): readonly string[];The topics emitted with this log.
Returns
readonly string[]
Implementation of
LogParams.topicstransactionHash
Get Signature
get transactionHash(): string;The transaction hash for the transaxction the log occurred in.
Returns
string
Implementation of
LogParams.transactionHashtransactionIndex
Get Signature
get transactionIndex(): number;The transaction index of this log.
Returns
number
Implementation of
LogParams.transactionIndex