FDTransactionWithCurrencyResult

FDTransactionWithCurrencyResult

new FDTransactionWithCurrencyResult()

Version:
  • 1.0

The FDTransactionWithCurrencyResult model module.

Members

chainId :Number

Type:
  • Number

chargedByKlay :String

Fee delegation cost in KLAY

Type:
  • String

chargedByKrw :String

Fee delegation cost in KRW

Type:
  • String

chargedByPeb :String

Fee delegation cost in Peb

Type:
  • String

chargedByUsd :String

Fee delegation cost in USD

Type:
  • String

feePayer :String

FeePayer's Klaytn account address

Type:
  • String

from :String

Transaction sender's Klaytn account address

Type:
  • String

gasPrice :String

The cost of gas used for sending the transaction

Type:
  • String

gasUsed :String

Amount of gas used for sending the transaction

Type:
  • String

krw :Number

KLAY/KRW rate at the time of sending the transaction (previous close)

Type:
  • Number

status :String

Transaction status

Type:
  • String

timestamp :Number

Timestamp of when the transaction was processed (in sec.)

Type:
  • Number

transactionHash :String

Transaction hash

Type:
  • String

typeInt :Number

The number to indicate the transaction type. For more details on transaction types, refer to link.

Type:
  • Number

usd :Number

KLAY/USD rate at the time of sending the transaction (previous close)

Type:
  • Number

to :String

KLAY recipient's Klaytn account address or contract address

Type:
  • String

feeRatio :String

The ratio of fee paid by FeePayer from the total transaction fee. If the FeePayer pays all, this field can be left blank.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated FDTransactionWithCurrencyResult instance.

Type
FDTransactionWithCurrencyResult

FDTransactionWithCurrencyResult

new FDTransactionWithCurrencyResult(chainId, chargedByKlay, chargedByKrw, chargedByPeb, chargedByUsd, feePayer, from, gasPrice, gasUsed, krw, status, timestamp, transactionHash, typeInt, usd)

Constructs a new FDTransactionWithCurrencyResult. Result fee delegation transactions and KLAY converted into different currencies based on the rates at the time of sending the transaction.

Parameters:
Name Type Description
chainId Number
chargedByKlay String

Fee delegation cost in KLAY

chargedByKrw String

Fee delegation cost in KRW

chargedByPeb String

Fee delegation cost in Peb

chargedByUsd String

Fee delegation cost in USD

feePayer String

FeePayer's Klaytn account address

from String

Transaction sender's Klaytn account address

gasPrice String

The cost of gas used for sending the transaction

gasUsed String

Amount of gas used for sending the transaction

krw Number

KLAY/KRW rate at the time of sending the transaction (previous close)

status String

Transaction status

timestamp Number

Timestamp of when the transaction was processed (in sec.)

transactionHash String

Transaction hash

typeInt Number

The number to indicate the transaction type. For more details on transaction types, refer to link.

usd Number

KLAY/USD rate at the time of sending the transaction (previous close)

Members

chainId :Number

Type:
  • Number

chargedByKlay :String

Fee delegation cost in KLAY

Type:
  • String

chargedByKrw :String

Fee delegation cost in KRW

Type:
  • String

chargedByPeb :String

Fee delegation cost in Peb

Type:
  • String

chargedByUsd :String

Fee delegation cost in USD

Type:
  • String

feePayer :String

FeePayer's Klaytn account address

Type:
  • String

from :String

Transaction sender's Klaytn account address

Type:
  • String

gasPrice :String

The cost of gas used for sending the transaction

Type:
  • String

gasUsed :String

Amount of gas used for sending the transaction

Type:
  • String

krw :Number

KLAY/KRW rate at the time of sending the transaction (previous close)

Type:
  • Number

status :String

Transaction status

Type:
  • String

timestamp :Number

Timestamp of when the transaction was processed (in sec.)

Type:
  • Number

transactionHash :String

Transaction hash

Type:
  • String

typeInt :Number

The number to indicate the transaction type. For more details on transaction types, refer to link.

Type:
  • Number

usd :Number

KLAY/USD rate at the time of sending the transaction (previous close)

Type:
  • Number

to :String

KLAY recipient's Klaytn account address or contract address

Type:
  • String

feeRatio :String

The ratio of fee paid by FeePayer from the total transaction fee. If the FeePayer pays all, this field can be left blank.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated FDTransactionWithCurrencyResult instance.

Type
FDTransactionWithCurrencyResult