new FTSummary()
- Version:
- 1.0
The FTSummary model module.
Members
address :String
Contract address (20-byte)
Type:
- String
owner :String
EOA address (20-byte)
Type:
- String
balance :String
Token balance (hex)
Type:
- String
formattedValue :String
Converted value using the decimals
Type:
- String
decimals :Number
FT decimals
Type:
- Number
name :String
FT name
Type:
- String
symbol :String
FT symbol
Type:
- String
totalSupply :String
FT total supply (hex)
Type:
- String
updatedAt :Number
UNIX timestamp of when the token information last changed
Type:
- Number
Methods
(static) constructFromObject(data, obj) → {FTSummary}
Constructs a FTSummary
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 |
FTSummary | Optional instance to populate. |
Returns:
The populated FTSummary
instance.
- Type
- FTSummary