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.

circle-exclamation

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

Contract
Chain
Address

OptimismPortal

Ethereum (chain 1)

0x7f82f57F0Dd546519324392e408b01fcC7D709e8

Steps

You need a browser wallet (MetaMask, Rabby, etc.) funded with ETH on Ethereum Mainnet or Sepolia.

1

Open OptimismPortal on Etherscan

Go to the OptimismPortal contract for your network and open the Write as Proxy tab:

2

Connect your wallet

Click Connect to Web3 and approve the connection. Make sure your wallet is set to the correct network — Ethereum Mainnet for production, Sepolia for testnet.

3

Fill in the depositTransaction fields

Scroll to depositTransaction in the list and expand it. Fill in the six fields:

Field
What to enter

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.

circle-info

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.

4

Submit and save the transaction hash

Click Write and confirm in your wallet. Save the Ethereum transaction hash to track the deposit.

5

Verify on MegaETH

After 5–20 minutes, check your balance or transaction on the block explorer:

For scripted or automated force inclusion using Foundry, see Force Inclusion — Foundry.

Last updated