Force-include a transaction
How to force-include a transaction on MegaETH by submitting it directly to Ethereum via Etherscan, bypassing the sequencer.
Last updated
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.
This is an advanced operation. For routine transactions, submit normally through your wallet or RPC.
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.
OptimismPortal
Ethereum (chain 1)
0x7f82f57F0Dd546519324392e408b01fcC7D709e8
OptimismPortal
Ethereum Sepolia (chain 11155111)
0xF68D900e1Cdec64a8f5Dc0Ee873A9E2879256b10
You need a browser wallet (MetaMask, Rabby, etc.) funded with ETH on Ethereum Mainnet or Sepolia.
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)
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.
If _gasLimit is too low, the L2 transaction will revert on MegaETH — but your ETH is still delivered to _to even on failure. The L1 gas fee for submitting the deposit is non-refundable regardless.
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