new Mt()
- Version:
- 1.0
The Mt model module.
Members
tokenId :String
Token ID (hex)
Type:
- String
totalSupply :String
Total supply (hex)
Type:
- String
tokenUri :String
Token URI
Type:
- String
Methods
(static) constructFromObject(data, obj) → {Mt}
Constructs a Mt
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 |
Mt | Optional instance to populate. |
Returns:
The populated Mt
instance.
- Type
- Mt