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