new TransactionReceipt()
- Version:
- 1.0
The TransactionReceipt model module.
Members
blockHash :String
Hash value of the block where the transaction is located
Type:
- String
blockNumber :String
No. of the block where the transaction is located
Type:
- String
feePayer :String
Account address for fee delegation of transaction fee
Type:
- String
feePayerSignatures :Array.<FeePayerSignaturesObj>
Type:
- Array.<FeePayerSignaturesObj>
from :String
Klaytn account address that sent a transaction
Type:
- String
gas :String
Max. transaction fee (gas) for sending the transaction
Type:
- String
gasPrice :String
Transaction fee (gas) for sending the transaction
Type:
- String
gasUsed :String
Transaction fee (gas) for sending the transaction
Type:
- String
hash :String
Transaction data hash
Type:
- String
input :String
Data attached to and used for executing the outgoing transaction
Type:
- String
logs :Array.<EventLog>
Type:
- Array.<EventLog>
logsBloom :String
Bloom filter for finding related logs quickly
Type:
- String
nonce :String
No. of current user’s previous transactions
Type:
- String
senderTxHash :String
Hash value of a transaction with no fee delegation account and signature value
Type:
- String
signatures :Array.<Signature>
Type:
- Array.<Signature>
status :String
Transaction status. The status is “Pending” if the transaction is still in txpool, “Committed” if the transaction is successful, and “CommitError” if the transaction failed.
Type:
- String
to :String
Klaytn account address to receive KLAY or contract address
Type:
- String
transactionHash :String
Transaction hash value
Type:
- String
transactionIndex :String
Order of transactions in the block where they are located
Type:
- String
type :String
Character value of transaction type
Type:
- String
typeInt :Number
Numeric value of transaction type
Type:
- Number
value :String
KLAY converted into PEB unit
Type:
- String
contractAddress :String
Contract address. It has a null value if it is not for a contract release.
Type:
- String
codeFormat :String
Code format of smart contract
Type:
- String
humanReadable :Boolean
Wheter to be humanReadable
of the account
Type:
- Boolean
Methods
(static) constructFromObject(data, obj) → {TransactionReceipt}
Constructs a TransactionReceipt
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 |
TransactionReceipt | Optional instance to populate. |
Returns:
The populated TransactionReceipt
instance.
- Type
- TransactionReceipt