TransactionReceipt constructor
TransactionReceipt({
- required Uint8List transactionHash,
- required int transactionIndex,
- required Uint8List blockHash,
- required BigInt cumulativeEnergyUsed,
- BlockNum blockNumber = const BlockNum.pending(),
- XCBAddress? contractAddress,
- bool? status,
- XCBAddress? from,
- XCBAddress? to,
- BigInt? energyUsed,
- XCBAmount? effectiveEnergyPrice,
- 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 [],
});