|
|
@ -102,8 +102,8 @@ export class Transactions { |
|
|
|
transactionIndex: '0x00', |
|
|
|
transactionIndex: '0x00', |
|
|
|
blockHash: '0x' + txBlock.hash().toString('hex'), |
|
|
|
blockHash: '0x' + txBlock.hash().toString('hex'), |
|
|
|
blockNumber: '0x' + txBlock.header.number.toString('hex'), |
|
|
|
blockNumber: '0x' + txBlock.header.number.toString('hex'), |
|
|
|
gasUsed: Web3.utils.toHex(receipt.gas), |
|
|
|
gasUsed: receipt.gasUsed, |
|
|
|
cumulativeGasUsed: Web3.utils.toHex(receipt.gas), |
|
|
|
cumulativeGasUsed: receipt.gasUsed, // only 1 tx per block
|
|
|
|
contractAddress: receipt.contractAddress, |
|
|
|
contractAddress: receipt.contractAddress, |
|
|
|
logs: receipt.logs, |
|
|
|
logs: receipt.logs, |
|
|
|
status: receipt.status, |
|
|
|
status: receipt.status, |
|
|
|