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