RpcReceipt

Type Alias RpcReceipt 

pub type RpcReceipt<T = TxType> = EthereumReceipt<T, Log>;
Expand description

Re-exported ethereum types Receipt representation for RPC.

Aliased Type§

pub struct RpcReceipt<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.