FDUserAnchorTransactionRequest

FDUserAnchorTransactionRequest

new FDUserAnchorTransactionRequest()

Version:
  • 1.0

The FDUserAnchorTransactionRequest model module.

Members

from :String

Klaytn transaction address to send transaction

Type:
  • String

input :String

Data that is attached to the transaction. Here, it is the data that is being anchored to the main chain.

Type:
  • String

nonce :Number

Unique identifier for the transactions being sent (By entering 0, the nonce will be automatically determined)

Type:
  • Number

gas :Number

Default Value:
  • 100000

Maximum gas fee to be used for sending the transaction (By entering 0, it will be set to default value))

Type:
  • Number

submit :Boolean

Shows whether to send the transaction to Klaytn

Type:
  • Boolean

feePayer :String

Account address for user Fee Delegation

Type:
  • String

feeRatio :Number

The ratio of the gas fee to be delegated. When it's empty or 0, the entire fee will be delegated.

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated FDUserAnchorTransactionRequest instance.

Type
FDUserAnchorTransactionRequest

FDUserAnchorTransactionRequest

new FDUserAnchorTransactionRequest(from, input, feePayer)

Constructs a new FDUserAnchorTransactionRequest. User Fee Delegation anchor transaction request schema

Parameters:
Name Type Description
from String

Klaytn transaction address to send transaction

input String

Data that is attached to the transaction. Here, it is the data that is being anchored to the main chain.

feePayer String

Account address for user Fee Delegation

Members

from :String

Klaytn transaction address to send transaction

Type:
  • String

input :String

Data that is attached to the transaction. Here, it is the data that is being anchored to the main chain.

Type:
  • String

nonce :Number

Unique identifier for the transactions being sent (By entering 0, the nonce will be automatically determined)

Type:
  • Number

gas :Number

Default Value:
  • 100000

Maximum gas fee to be used for sending the transaction (By entering 0, it will be set to default value))

Type:
  • Number

submit :Boolean

Shows whether to send the transaction to Klaytn

Type:
  • Boolean

feePayer :String

Account address for user Fee Delegation

Type:
  • String

feeRatio :Number

The ratio of the gas fee to be delegated. When it's empty or 0, the entire fee will be delegated.

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated FDUserAnchorTransactionRequest instance.

Type
FDUserAnchorTransactionRequest