TransactionReceipt class

Constructors

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 []})
TransactionReceipt.fromMap(Map<String, dynamic> map)

Properties

blockHash Uint8List
Hash of the block where this transaction is in (32 bytes).
final
blockNumber BlockNum
Block number where this transaction is in.
final
contractAddress XCBAddress?
The address of the contract created if the transaction was a contract creation. null otherwise.
final
cumulativeEnergyUsed BigInt
The total amount of energy used when this transaction was executed in the block.
final
effectiveEnergyPrice XCBAmount?
final
energyUsed BigInt?
The amount of energy used by this specific transaction alone.
final
from XCBAddress?
Address of the sender.
final
hashCode int
The hash code for this object.
no setteroverride
logs List<FilterEvent>
Array of logs generated by this transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool?
Whether this transaction was executed successfully.
final
to XCBAddress?
Address of the receiver or null if it was a contract creation transaction.
final
transactionHash Uint8List
Hash of the transaction (32 bytes).
final
transactionIndex int
Index of the transaction's position in the block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override