new MTTokenSummary()
- Version:
- 1.0
The MTTokenSummary model module.
Members
kind :String
Contract type
Type:
- String
contractAddress :String
Contract address (20-byte)
Type:
- String
updatedAt :Number
Last change in token balances (timestamp)
Type:
- Number
balance :String
Token balance (in hexadecimal)
Type:
- String
lastTransfer :Object
Type:
- Object
extras :Object
Type:
- Object
Methods
(static) constructFromObject(data, obj) → {MTTokenSummary}
Constructs a MTTokenSummary 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 |
MTTokenSummary | Optional instance to populate. |
Returns:
The populated MTTokenSummary instance.
- Type
- MTTokenSummary