pub fn default_ethereum_payload<EvmConfig, Pool, Client, F>(
evm_config: EvmConfig,
args: BuildArguments<Pool, Client, EthPayloadBuilderAttributes, EthBuiltPayload>,
initialized_cfg: CfgEnvWithHandlerCfg,
initialized_block_env: BlockEnv,
best_txs: F,
) -> Result<BuildOutcome<EthBuiltPayload>, PayloadBuilderError>
Expand description
Constructs an Ethereum transaction payload using the best transactions from the pool.
Given build arguments including an Ethereum client, transaction pool, and configuration, this function creates a transaction payload. Returns a result indicating success with the payload or an error in case of failure.