TransactionReceipt constructor

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

Implementation

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