Skip to main content

block_context

Function block_context 

Source
fn block_context<FEN: FoundryEvmNetwork>(
    backend: &SharedBackend<AnyNetwork, BlockEnv>,
    block: &AnyRpcBlock,
) -> Result<BlockContext<FEN>>
Expand description

Returns the transactions of block and its two ancestors, fetched through backend.