TransactionResult

TransactionResult

new TransactionResult()

Version:
  • 1.0

The TransactionResult model module.

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

gas :Number

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

gasPrice :String

Gas price for sending the transaction

Type:
  • String

input :String

Data attached to and used for executing the outgoing transaction

Type:
  • String

nonce :Number

No. of current user’s previous transactions

Type:
  • Number

rlp :String

RLP serialization value of the transaction

Type:
  • String

signatures :Array.<Signature>

Type:

status :String

Status of the transaction(“Submitted” or “Pending”)

Type:
  • String

transactionHash :String

Transaction hash value

Type:
  • String

typeInt :Number

Numeric value of transaction type

Type:
  • Number

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Klaytn account address to receive KLAY

Type:
  • String

code :Number

Type:
  • Number

message :String

Type:
  • String

transactionId :String

Multisig transaction ID

Type:
  • String

accountKey :String

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. Transaction information sent to Klaytn

Parameters:
Name Type Description
from String

Klaytn account address sending a transaction

gas Number

Max. transaction fee (gas) for sending the transaction

gasPrice String

Gas price for sending the transaction

nonce Number

No. of current user’s previous transactions

rlp String

RLP serialization value of the transaction

typeInt Number

Numeric value of transaction type

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

gas :Number

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

gasPrice :String

Gas price for sending the transaction

Type:
  • String

input :String

Data attached to and used for executing the outgoing transaction

Type:
  • String

nonce :Number

No. of current user’s previous transactions

Type:
  • Number

rlp :String

RLP serialization value of the transaction

Type:
  • String

signatures :Array.<Signature>

Type:

status :String

Status of the transaction(“Submitted” or “Pending”)

Type:
  • String

transactionHash :String

Transaction hash value

Type:
  • String

typeInt :Number

Numeric value of transaction type

Type:
  • Number

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Klaytn account address to receive KLAY

Type:
  • String

code :Number

Type:
  • Number

message :String

Type:
  • String

transactionId :String

Multisig transaction ID

Type:
  • String

accountKey :String

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