SimulatedBlocksResult

Type Alias SimulatedBlocksResult 

Source
pub type SimulatedBlocksResult<N, E> = Result<Vec<SimulatedBlock<RpcBlock<N>>>, E>;
Expand description

Result type for eth_simulateV1 RPC method.

Aliased Type§

pub enum SimulatedBlocksResult<N, E> {
    Ok(Vec<SimulatedBlock<Block<<N as RpcTypes>::TransactionResponse, <N as RpcTypes>::Header>>>),
    Err(E),
}

Variants§

§1.0.0

Ok(Vec<SimulatedBlock<Block<<N as RpcTypes>::TransactionResponse, <N as RpcTypes>::Header>>>)

Contains the success value

§1.0.0

Err(E)

Contains the error value

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.