new NftTransfer()
- Version:
- 1.0
The NftTransfer model module.
Members
contract :NftContract
Type:
from :String
Sender EOA (20-byte)
Type:
- String
to :String
Receiver EOA (20-byte)
Type:
- String
transaction :Transaction
Type:
transferType :String
Type of transaction detail
Type:
- String
tokenId :String
Token identifier (in hexadecimal)
Type:
- String
Methods
(static) constructFromObject(data, obj) → {NftTransfer}
Constructs a NftTransfer
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 |
NftTransfer | Optional instance to populate. |
Returns:
The populated NftTransfer
instance.
- Type
- NftTransfer