new TransactionReceipt()
- Version:
- 1.0
The TransactionReceipt model module.
Members
blockHash :String
Hash value of the block with the transaction.
Type:
- String
blockNumber :String
Number of the block with the transaction.
Type:
- String
codeFormat :String
Code format of the smart contract
Type:
- String
contractAddress :String
Contract address. Has null if it's not contract deployment.
Type:
- String
feePayer :String
Account address to pay transaction fee on behalf.
Type:
- String
feePayerSignatures :Array.<FeePayerSignaturesObj>
Type:
- Array.<FeePayerSignaturesObj>
from :String
Klaytn account address that sent the transaction
Type:
- String
gas :String
Maximum gas fee set to be used for sending the transaction.
Type:
- String
gasPrice :String
Maximum gas fee set to be used for sending the transaction.
Type:
- String
gasUsed :String
Gas fee used for sending the transaction.
Type:
- String
hash :String
Transaction data hash.
Type:
- String
humanReadable :Boolean
Shows whether the account address ishumanReadable.
Type:
- Boolean
input :String
Data that is sent along with the transaction and is used for execution.
Type:
- String
logs :Array.<EventLog>
Type:
- Array.<EventLog>
logsBloom :String
Bloom filter to search the log more quickly.
Type:
- String
nonce :String
Number of transactions sent by the sender of the current transaction.
Type:
- String
senderTxHash :String
Transaction hash value without Fee Delegation account address and signature
Type:
- String
signatures :Array.<Signature>
Type:
- Array.<Signature>
status :String
Status of the transaction. If the transaction is still in the txpool, it returns Pending. A successful transaction returns Committed, and failed transaction returns CommitError.
Type:
- String
transactionHash :String
Transaction hash
Type:
- String
transactionIndex :String
Order of the transaction within the block that contains it
Type:
- String
type :String
Characters that represents the transaction type
Type:
- String
typeInt :Number
Integer that represents the transaction type
Type:
- Number
value :String
KLAY converted into PEB
Type:
- String
to :String
Klaytn account address or Contract address to receive KLAY
Type:
- String
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