new ValueTransferTransactionRequest()
- Version:
- 1.0
The ValueTransferTransactionRequest model module.
Members
from :String
The Klaytn account address that sends the transaction.
Type:
- String
value :String
KLAY converted into PEB.
Type:
- String
to :String
The Klaytn account address that receives the KLAY.
Type:
- String
memo :String
Memo to appended to the transaction.
Type:
- String
nonce :Number
Unique identifier for the transaction being sent (Entering 0 will set the value automatically)
Type:
- Number
gas :Number
- Default Value:
- 100000
Maximum gas fee used for sending the transaction (Entering 0 will set it to the default value)
Type:
- Number
submit :Boolean
Shows whether to send the transaction to Klaytn
Type:
- Boolean
Methods
(static) constructFromObject(data, obj) → {ValueTransferTransactionRequest}
Constructs a ValueTransferTransactionRequest 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 |
ValueTransferTransactionRequest | Optional instance to populate. |
Returns:
The populated ValueTransferTransactionRequest instance.