execute_transactions

Function execute_transactions 

pub fn execute_transactions<S, T>(
    builder: S,
    calls: Vec<<<T as RpcConvert>::Network as RpcTypes>::TransactionRequest>,
    default_gas_limit: u64,
    chain_id: u64,
    tx_resp_builder: &T,
) -> Result<(BlockBuilderOutcome<<S as BlockBuilder>::Primitives>, Vec<ExecutionResult<<<<S as BlockBuilder>::Executor as BlockExecutor>::Evm as Evm>::HaltReason>>), EthApiError>
Available on crate feature rpc only.
Expand description

Converts all TransactionRequests into Recovered transactions and applies them to the given BlockExecutor.

Returns all executed transactions and the result of the execution.