pub async fn estimate_gas<N: Network, P: Provider<N>>(
tx: &mut N::TransactionRequest,
provider: &P,
estimate_multiplier: u64,
browser: bool,
sponsored: bool,
) -> Result<()>where
N::TransactionRequest: FoundryTransactionBuilder<N>,Expand description
Estimates and sets the gas limit of tx, which a Tempo fee payer signs afterwards when
sponsored.