FDValueTransferTransactionRequest

FDValueTransferTransactionRequest

new FDValueTransferTransactionRequest()

Version:
  • 1.0

The FDValueTransferTransactionRequest model module.

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Klaytn account address to receive KLAY

Type:
  • String

memo :String

Memo attached to the transaction

Type:
  • String

nonce :Number

Unique value of the outgoing transaction

Type:
  • Number

gas :Number

Default Value:
  • 100000

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

submit :Boolean

Whether to send the transaction to Klaytn

Type:
  • Boolean

feeRatio :Number

Ratio to be paid by the Proxy fee payer for the entire transaction fee(1~99). If value is empty or 0, fee payer will pay all fees

Type:
  • Number

Methods

(static) constructFromObject(data, obj) → {FDValueTransferTransactionRequest}

Constructs a FDValueTransferTransactionRequest 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 FDValueTransferTransactionRequest

Optional instance to populate.

Returns:

The populated FDValueTransferTransactionRequest instance.

Type
FDValueTransferTransactionRequest

FDValueTransferTransactionRequest

new FDValueTransferTransactionRequest(from, value, to)

Constructs a new FDValueTransferTransactionRequest. Fee Delegation KLAY Transfer Transaction Request Scheme

Parameters:
Name Type Description
from String

Klaytn account address sending a transaction

value String

KLAY converted into PEB unit

to String

Klaytn account address to receive KLAY

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Klaytn account address to receive KLAY

Type:
  • String

memo :String

Memo attached to the transaction

Type:
  • String

nonce :Number

Unique value of the outgoing transaction

Type:
  • Number

gas :Number

Default Value:
  • 100000

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

submit :Boolean

Whether to send the transaction to Klaytn

Type:
  • Boolean

feeRatio :Number

Ratio to be paid by the Proxy fee payer for the entire transaction fee(1~99). If value is empty or 0, fee payer will pay all fees

Type:
  • Number

Methods

(static) constructFromObject(data, obj) → {FDValueTransferTransactionRequest}

Constructs a FDValueTransferTransactionRequest 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 FDValueTransferTransactionRequest

Optional instance to populate.

Returns:

The populated FDValueTransferTransactionRequest instance.

Type
FDValueTransferTransactionRequest