new NftContract()
- Version:
- 1.0
The NftContract model module.
Members
address :String
Contract address (20-byte)
Type:
- String
name :String
Token name
Type:
- String
symbol :String
Token symbol
Type:
- String
status :String
Contract labeling status (completed, processing, failed, cancelled)
Type:
- String
Methods
(static) constructFromObject(data, obj) → {NftContract}
Constructs a NftContract
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 |
NftContract | Optional instance to populate. |
Returns:
The populated NftContract
instance.
- Type
- NftContract