Interface

TxResult

TxResult

Properties:
Name Type Attributes Description
transactionHash string <nullable>

The recorded transaction hash on the on-chain etherscan.

transactionIndex number <nullable>

QUANTITY - integer of the transaction's index position in the block.

blockHash string <nullable>

DATA , 32 Bytes - hash of the block where this transaction was in.

blockNumber number <nullable>

QUANTITY - block number where this transaction was in.

from string <nullable>

DATA , 20 Bytes - address of the sender

to string <nullable>

DATA, 20 Bytes - address of the receiver. null when it's a contract creation transaction.

contractAddress string <nullable>

DATA, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise null.

cumulativeGasUsed number <nullable>

QUANTITY - The total amount of gas used when this transaction was executed in the block.

gasUsed number <nullable>

QUANTITY - The amount of gas used by this specific transaction alone.

logs Array.<Log> <nullable>

Array of log objects, which this transaction generated.

nonce number <nullable>

The unique number to identify the unique on-chain transactions

status boolean <nullable>

Status of the transaction receipt

gasEstimate number <nullable>

The estimated gas and check the balance of the sender (to make sure that the sender has enough gas to complete the request). This means that even though the call doesn't consume any gas, the from address must have enough gas to execute the transaction.

gas number <nullable>

The final gas fee that user need to be charged for the on-chain transaction

confirmation Promise.<TransactionReceipt> <nullable>

The promise data for transactionReceipt - for more informations of transactionReceipt on web3-core, you can find out in https://www.npmjs.com/package/web3-core

View Source types/CommonTypes.ts, line 78