new MintKip37TokenRequest()
- Version:
- 1.0
The MintKip37TokenRequest model module.
Members
sender :String
The Klaytn account address to mint tokens. The default value is the address that deployed the contract.
Type:
- String
to :String
The Klaytn account address of the token owner
Type:
- String
ids :Array.<String>
Array of the new token IDs
Type:
- Array.<String>
amounts :Array.<String>
Array of the new token supplies (in hex.)
Type:
- Array.<String>
Methods
(static) constructFromObject(data, obj) → {MintKip37TokenRequest}
Constructs a MintKip37TokenRequest 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 |
MintKip37TokenRequest | Optional instance to populate. |
Returns:
The populated MintKip37TokenRequest instance.