TransactionReceipt constructor

TransactionReceipt({
  1. required Uint8List transactionHash,
  2. required int transactionIndex,
  3. required Uint8List blockHash,
  4. required BigInt cumulativeGasUsed,
  5. BlockNum blockNumber = const BlockNum.pending(),
  6. EthereumAddress? contractAddress,
  7. bool? status,
  8. EthereumAddress? from,
  9. EthereumAddress? to,
  10. BigInt? gasUsed,
  11. EtherAmount? effectiveGasPrice,
  12. List<FilterEvent> logs = const [],
})

Implementation

TransactionReceipt({
  required this.transactionHash,
  required this.transactionIndex,
  required this.blockHash,
  required this.cumulativeGasUsed,
  this.blockNumber = const BlockNum.pending(),
  this.contractAddress,
  this.status,
  this.from,
  this.to,
  this.gasUsed,
  this.effectiveGasPrice,
  this.logs = const [],
});