Skip to content

ERC20 Approval Gas Savings Estimation - EIP7702

@msilb7@msilb711 charts


Method 2: Overhead + L1 Fee Estimation

L2s pay an additional L1 data fee per transaction, which contains the input data for the function call. All, or a share of this cost could also be saved by bundling approval transactions.

Note: This additional fee does not apply to L1 Ethereum


Approval Transaction Methodology:

  1. Pull standard approval transactions (function call 0x095ea7b3)
  2. Assume the "gas savings" are the (Method 1) The Fixed 21k overhead gas per transaction, or (Method 2) Overhead + L1 Fee.
  3. Savings = # of Transactions * Savings per Transaction (by method)

ERC20 Approval Gas Savings Estimation - EIP7702

This dashboard contains cost saving estimate models, for the case where token approval transactions get bundled within larger transactions. We estimate how much gas -> fees would be "saved" for onchain transactors below.

Savings estimates are annualized to a whole year, using the sample Trailing Days time period selected.


Method 1: Overhead Gas

Every Ethereum transaction (L1, L2, L3+) uses a fixed 21k per transaction. So at a minimum, if we remove approval transactions, then we save the cost of 21k gas for every instance where a user needs to approve a token.