reth_rpc_eth_api::helpers::call

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§

enum SimulatedBlocksResult<N, E> {
    Ok(Vec<SimulatedBlock<Block<<N as Network>::TransactionResponse, <N as Network>::HeaderResponse>>>),
    Err(E),
}

Variants§

§1.0.0

Ok(Vec<SimulatedBlock<Block<<N as Network>::TransactionResponse, <N as Network>::HeaderResponse>>>)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.