pub fn normalize_transaction_request(
request: &mut TransactionRequest,
evm_env: &impl EvmEnv,
) -> Result<CallFees, EthTxEnvError>Available on crate feature
node-api only.Expand description
Fills missing fields for simulation using the selected EVM environment.
Explicit fee caps and flat gasPrice values are preserved. The returned fees describe
execution pricing, which may be lower than the request’s maximum fee cap. No state lookup,
gas estimation, or fee suggestion is performed; callers should resolve the account nonce
before calling this helper when it is needed.
to is left unchanged so callers with their own call representation can use this helper.
Recover signatures from the original request before filling defaults.