new KlayTransfer()
- Version:
- 1.0
The KlayTransfer model module.
Members
feePayer :String
Fee delegation account address (20-byte)
Type:
- String
feeRatio :Number
Fee delegation ratio
Type:
- Number
fee :String
Gas fee
Type:
- String
from :String
Sender EOA (20-byte)
Type:
- String
to :String
Receiver EOA (20-byte)
Type:
- String
transactionHash :String
Transaction hash
Type:
- String
transactionIndex :Number
Transaction index
Type:
- Number
transferType :String
Type of transaction detail
Type:
- String
typeInt :Number
Transaction type
Type:
- Number
value :String
The amount of tranferring KLAY (in hexadecimal)
Type:
- String
Methods
(static) constructFromObject(data, obj) → {KlayTransfer}
Constructs a KlayTransfer
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 |
KlayTransfer | Optional instance to populate. |
Returns:
The populated KlayTransfer
instance.
- Type
- KlayTransfer