openzeppelin_relayer::services::gas::network_extra_feeTrait NetworkExtraFeeCalculatorServiceTrait
Source pub trait NetworkExtraFeeCalculatorServiceTrait {
// Required method
fn get_extra_fee<'life0, 'life1, 'async_trait>(
&'life0 self,
tx_data: &'life1 EvmTransactionData,
) -> Pin<Box<dyn Future<Output = Result<U256, TransactionError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Get the extra fee for a transaction
§Arguments
tx_data
- The transaction data to get the extra fee for
§Returns