The Coinformer banner
Live 5m

Ethereum's stablecoin gas payments come with a front running risk

Ethereum's plan to let users pay gas with stablecoins could leave sponsors exposed if users move their tokens before transactions land on-chain.

Ethereum/The Coinformer

Discuss this article:

Does this story need context? Notes are selected by independent community ratings, not editors.
How it works

Ethereum wants to remove the need to hold ETH for gas, but its current design leaves stablecoin sponsors with a front running risk.

  • EIP-8141, an Ethereum proposal scheduled for the Hegotá upgrade in 2027, would let another account or service pay a user's network fee in ETH while receiving payment from the user in an ERC-20 token such as USDC or USDT.
  • Ethereum core developers moved the proposal to "Scheduled for Inclusion" on Aug. 27.
  • But the proposal's current public-mempool design comes with a limitation that has received little attention in coverage of the upgrade.
  • In an example showing fee payment with ERC-20 tokens, the EIP says sponsors must accept some risk that a user could front run the sponsored transaction and empty their token balance before it lands on-chain.

Balance checks happen off-chain

Matt Garnett, an Ethereum developer involved in the EIP-8141 discussion, explained in June that a sponsor can't check a user's ERC-20 balance on-chain during that part of public-mempool validation because of restrictions designed to prevent transactions from depending on mutable third-party state.

Instead, he said, the sponsor would need to check the balance off-chain before agreeing to pay.

Developers could make ERC-20 balances part of transaction validity, but Garnett said doing so would introduce additional complexity and governance decisions, so support is being held off for now.

  • That means a service could see that a wallet holds enough USDC, agree to front the ETH gas, then find that the user moved those tokens before the sponsored transaction was included.
  • The EIP suggests sponsors could respond by rejecting or restricting service to users who abuse the system.

ETH still pays the network

EIP-8141 itself doesn't replace ETH as Ethereum's underlying gas asset. Instead, it separates the user from the account that actually pays the network.

Its proposed "Frame Transactions" split a transaction into programmable steps for validation, payment and execution, with as many as 64 frames allowed. A sponsor could pay the gas in ETH, receive stablecoins from the user and potentially swap those tokens back into ETH afterward.

  • The proposal remains formally in draft despite being scheduled for Hegotá, meaning its implementation can still change before the 2027 upgrade.
  • The Coinformer reached out to EIP-8141 authors Felix Lange and Matt Garnett, as well as the Ethereum Foundation's press team, for comment and will update the story if a response is received.