TransactionResult

TransactionResult

new TransactionResult()

Version:
  • 1.0

The TransactionResult model module.

Members

from :String

Klaytn account address that sent the transaction.

Type:
  • String

gas :Number

Maximum gas fee for sending the transaction.

Type:
  • Number

gasPrice :String

Cost of gas fee for sending the transaction.

Type:
  • String

input :String

Data that is sent along with the transaction to Klaytn

Type:
  • String

nonce :Number

Number of transactions that the current sender has sent in the past.

Type:
  • Number

rlp :String

RLP serialization value for the transaction.

Type:
  • String

signatures :Array.<Signature>

Type:

status :String

Status after the transaction has been sent ("Submitted" or "Pending")

Type:
  • String

transactionHash :String

Hash value for the transaction.

Type:
  • String

typeInt :Number

Integer that represents the transaction type

Type:
  • Number

value :String

KLAY converted into PEB

Type:
  • String

to :String

KLAY receiver's Klaytn account address

Type:
  • String

code :Number

Type:
  • Number

message :String

Type:
  • String

requestId :String

Type:
  • String

transactionId :String

Multisig transaction ID

Type:
  • String

accountKey :String

Newly updated account key.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated TransactionResult instance.

Type
TransactionResult

TransactionResult

new TransactionResult(from, gas, gasPrice, nonce, rlp, typeInt)

Constructs a new TransactionResult. Data of transaction sent to Klaytn.

Parameters:
Name Type Description
from String

Klaytn account address that sent the transaction.

gas Number

Maximum gas fee for sending the transaction.

gasPrice String

Cost of gas fee for sending the transaction.

nonce Number

Number of transactions that the current sender has sent in the past.

rlp String

RLP serialization value for the transaction.

typeInt Number

Integer that represents the transaction type

Members

from :String

Klaytn account address that sent the transaction.

Type:
  • String

gas :Number

Maximum gas fee for sending the transaction.

Type:
  • Number

gasPrice :String

Cost of gas fee for sending the transaction.

Type:
  • String

input :String

Data that is sent along with the transaction to Klaytn

Type:
  • String

nonce :Number

Number of transactions that the current sender has sent in the past.

Type:
  • Number

rlp :String

RLP serialization value for the transaction.

Type:
  • String

signatures :Array.<Signature>

Type:

status :String

Status after the transaction has been sent ("Submitted" or "Pending")

Type:
  • String

transactionHash :String

Hash value for the transaction.

Type:
  • String

typeInt :Number

Integer that represents the transaction type

Type:
  • Number

value :String

KLAY converted into PEB

Type:
  • String

to :String

KLAY receiver's Klaytn account address

Type:
  • String

code :Number

Type:
  • Number

message :String

Type:
  • String

requestId :String

Type:
  • String

transactionId :String

Multisig transaction ID

Type:
  • String

accountKey :String

Newly updated account key.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated TransactionResult instance.

Type
TransactionResult