FDUserContractExecutionTransactionRequest

FDUserContractExecutionTransactionRequest

new FDUserContractExecutionTransactionRequest()

Version:
  • 1.0

The FDUserContractExecutionTransactionRequest model module.

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Contract address

Type:
  • String

input :String

Data attached to and used for executing the outgoing 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

feePayer :String

Account address for fee delegation of transaction fee

Type:
  • String

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) → {FDUserContractExecutionTransactionRequest}

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

Optional instance to populate.

Returns:

The populated FDUserContractExecutionTransactionRequest instance.

Type
FDUserContractExecutionTransactionRequest

FDUserContractExecutionTransactionRequest

new FDUserContractExecutionTransactionRequest(from, to, input, feePayer)

Constructs a new FDUserContractExecutionTransactionRequest. User Fee Delegation Contract Execution Transaction Request Scheme

Parameters:
Name Type Description
from String

Klaytn account address sending a transaction

to String

Contract address

input String

Data attached to and used for executing the outgoing transaction

feePayer String

Account address for fee delegation of transaction fee

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Contract address

Type:
  • String

input :String

Data attached to and used for executing the outgoing 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

feePayer :String

Account address for fee delegation of transaction fee

Type:
  • String

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) → {FDUserContractExecutionTransactionRequest}

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

Optional instance to populate.

Returns:

The populated FDUserContractExecutionTransactionRequest instance.

Type
FDUserContractExecutionTransactionRequest