EventLog

EventLog

new EventLog()

Version:
  • 1.0

The EventLog model module.

Members

address :String

Klaytn account address

Type:
  • String

blockHash :String

Block hash including the transaction

Type:
  • String

blockNumber :String

Block No. including the transaction

Type:
  • String

data :String

Transaction data

Type:
  • String

logIndex :String

Index of log

Type:
  • String

removed :Boolean

Whether to remove log

Type:
  • Boolean

topics :Array.<String>

Type:
  • Array.<String>

transactionHash :String

Transaction hash value

Type:
  • String

transactionIndex :String

Index of the transaction

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {EventLog}

Constructs a EventLog from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj EventLog

Optional instance to populate.

Returns:

The populated EventLog instance.

Type
EventLog

EventLog

new EventLog(address, blockHash, blockNumber, data, logIndex, removed, transactionHash, transactionIndex)

Constructs a new EventLog. Logs emitted by the transaction

Parameters:
Name Type Description
address String

Klaytn account address

blockHash String

Block hash including the transaction

blockNumber String

Block No. including the transaction

data String

Transaction data

logIndex String

Index of log

removed Boolean

Whether to remove log

transactionHash String

Transaction hash value

transactionIndex String

Index of the transaction

Members

address :String

Klaytn account address

Type:
  • String

blockHash :String

Block hash including the transaction

Type:
  • String

blockNumber :String

Block No. including the transaction

Type:
  • String

data :String

Transaction data

Type:
  • String

logIndex :String

Index of log

Type:
  • String

removed :Boolean

Whether to remove log

Type:
  • Boolean

topics :Array.<String>

Type:
  • Array.<String>

transactionHash :String

Transaction hash value

Type:
  • String

transactionIndex :String

Index of the transaction

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {EventLog}

Constructs a EventLog from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj EventLog

Optional instance to populate.

Returns:

The populated EventLog instance.

Type
EventLog