Type Alias Receipt
pub type Receipt<T = TxType> = EthereumReceipt<T>;
Expand description
Raw ethereum receipt.
Aliased Type§
pub struct Receipt<T = TxType> {
pub tx_type: T,
pub success: bool,
pub cumulative_gas_used: u64,
pub logs: Vec<Log>,
}
Fields§
§tx_type: T
Receipt type.
success: bool
If transaction is executed successfully.
This is the statusCode
cumulative_gas_used: u64
Gas used
logs: Vec<Log>
Log send from contracts.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.