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