Force-include a transaction
How to force-include a transaction on MegaETH by submitting it directly to Ethereum via Etherscan, bypassing the sequencer.
Force inclusion submits a transaction directly to the L1 OptimismPortal, bypassing the sequencer. Once submitted on Ethereum, MegaETH is required to include it on L2 within 12 hours. Under normal conditions it lands in about 5–20 minutes.
When to use
The sequencer is offline and your transaction cannot get through.
A transaction is being consistently ignored despite sufficient gas.
You need a censorship-resistance guarantee for a high-stakes action.
Contract addresses
OptimismPortal
Ethereum (chain 1)
0x7f82f57F0Dd546519324392e408b01fcC7D709e8
OptimismPortal
Ethereum Sepolia (chain 11155111)
0xF68D900e1Cdec64a8f5Dc0Ee873A9E2879256b10
Steps
You need a browser wallet (MetaMask, Rabby, etc.) funded with ETH on Ethereum Mainnet or Sepolia.
Open OptimismPortal on Etherscan
Go to the OptimismPortal contract for your network and open the Write as Proxy tab:
Mainnet: OptimismPortal on Etherscan (
0x7f82f57F0Dd546519324392e408b01fcC7D709e8)Testnet (Sepolia): OptimismPortal on Sepolia Etherscan (
0xF68D900e1Cdec64a8f5Dc0Ee873A9E2879256b10)
Fill in the depositTransaction fields
Scroll to depositTransaction in the list and expand it. Fill in the six fields:
payableAmount (ETH)
ETH to send to MegaETH (e.g. 0.001). Enter 0 for contract calls with no ETH attached.
_to (address)
The destination address on MegaETH — your wallet address for a plain ETH transfer, or a contract address for a call.
_value (uint256)
Same as payableAmount in wei. For 0.001 ETH enter 1000000000000000. Enter 0 if sending no ETH.
_gasLimit (uint64)
Gas budget for L2 execution. Use 100000 for a plain ETH transfer; for contract call estimates see Force Inclusion — Foundry.
_isCreation (bool)
false unless you are deploying a new contract on MegaETH.
_data (bytes)
0x for a plain ETH transfer. For a contract call, paste the encoded function call data here.
Verify on MegaETH
After 5–20 minutes, check your balance or transaction on the block explorer:
Mainnet: megaeth.blockscout.com
Testnet: testnet-mega.etherscan.io
For scripted or automated force inclusion using Foundry, see Force Inclusion — Foundry.
Last updated