Ethereum Protocol Fellowship (EPF) Cohort 7 — Applications open until May 13
All EIPs
EIP-7791 Draft EL

GAS2ETH opcode

Authors: ,

Canonical data: /latest/eips/7791.json

Introduces a new opcode, `GAS2ETH`, to convert gas to ETH

Timeline

Glamsterdam
Charles Cooper
Declined
Dec 4, 2025 · ACDE #225
Proposed
Declined
EIP Created Aug 13, 2024

Key Benefits

  • Native way for dapp developers to benefit from success of their work without relying on tokens, DAOs or external profit/public goods mechanisms
  • Fair distribution of fees proportional to contract usage.
  • Simple and clear UX for dapp users who can continue using their wallets with regular gas fee estimates as before.

Trade-offs & Considerations

No trade-offs documented yet.

Stakeholder Impact

End Users

Users can automatically support developers of dapps they are using without using any third party tokens or tools.

Application Developers

Contract developers can receive fees propotional to usage of their contract and benefit from its success without building any external mechanism.

Wallet Developers

Wallets are estimating gas fees as always but when interacting with contracts using this opcode, the estimated fee will include the regular network fee and portion paid to the contract beneficiary address.

Tooling / Infrastructure

Compilers will have to implement the new opcode and provide new tooling for developers to use it. Explorers should recognize the new fee structure and display the new fee structure.

Layer 2s

EVM-equivalent L2s implementing this opcode mirror mainnet behavior; optional adoption otherwise. Expect routine client updates, testing, and gas schedule alignment.

Stakers & Node Operators

Node operators simply upgrade clients at fork; runtime behavior unchanged.

CL Client Developers

This is EVM only change, consensus changes expected for CL; only standard fork coordination.

EL Client Developers

Execution clients need to modify their EVM implementation, gas estimation and metering functions which introduces new complexity.