pub fn resolve_transactions<DB: Database>(
txs: &mut [TransactionRequest],
validation: bool,
block_gas_limit: u64,
chain_id: u64,
db: &mut DB,
) -> Result<Vec<TransactionSigned>, EthApiError>where
EthApiError: From<DB::Error>,
Expand description
Goes over the list of [TransactionRequest
]s and populates missing fields trying to resolve
them into [TransactionSigned
].
If validation is enabled, the function will return error if any of the transactions can’t be built right away.