pub fn resolve_transaction<DB, Tx, T>(
tx: TransactionRequest,
validation: bool,
default_gas_limit: u64,
chain_id: u64,
db: &mut DB,
tx_resp_builder: &T,
) -> Result<Recovered<Tx>, EthApiError>
Available on crate feature
rpc
only.Expand description
Goes over the list of [TransactionRequest
]s and populates missing fields trying to resolve
them into primitive transactions.
If validation is enabled, the function will return error if any of the transactions can’t be built right away.