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