Protocols / Canonical Bridge
Optimism Bridge
The canonical bridge between Ethereum and OP Mainnet. An agent deposits ETH and ERC-20 tokens to OP Mainnet through the L1 Standard Bridge, and withdraws ETH and ERC-20 tokens from OP Mainnet through the L2 Standard Bridge. Withdrawals are proven and finalized on Ethereum through the Optimism Portal after the challenge period.
On-chainEVM4 contractsWebsite · Docs
get_protocol({ "protocol": "optimism-bridge" })Risks an agent should know
- Withdrawals to Ethereum need a prove step and a finalize step on OptimismPortal, and they only finish after the challenge period (7 days).
- The prove step and the finalize step are separate Ethereum transactions. Each costs L1 gas.
- Only the addresses listed here come from the official superchain registry. Check them there before large transfers.
What an agent can do
| deposit ETH | Bridge ETH from Ethereum to OP Mainnet Call L1StandardBridgeProxy bridgeETH(minGasLimit, extraData) with ETH as msg.value, or bridgeETHTo(to, minGasLimit, extraData) for another recipient. |
| deposit ERC-20 | Bridge an ERC-20 from Ethereum to OP Mainnet Approve L1StandardBridgeProxy for the amount, then call bridgeERC20(l1Token, l2Token, amount, minGasLimit, extraData). |
| withdraw ETH | Withdraw ETH from OP Mainnet to Ethereum On OP Mainnet call L2StandardBridge bridgeETH(minGasLimit, extraData) with ETH as msg.value. On Ethereum, prove the withdrawal on OptimismPortal, wait out the challenge period, then call finalizeWithdrawalTransaction. |
| withdraw ERC-20 | Withdraw an ERC-20 from OP Mainnet to Ethereum On OP Mainnet call L2StandardBridge withdraw(l2Token, amount, minGasLimit, extraData). Then prove and finalize on Ethereum through OptimismPortal after the challenge period. |
Contracts
ethereum · chain id 1
| Contract | Address | Key functions | Try |
|---|---|---|---|
| L1StandardBridgeProxy (OP Mainnet) bridge · proxy | 0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1 source | writebridgeETH(uint32,bytes) writebridgeETHTo(address,uint32,bytes) writebridgeERC20(address,address,uint256,uint32,bytes) writebridgeERC20To(address,address,address,uint256,uint32,bytes) | Full ABI |
| OptimismPortalProxy (OP Mainnet) bridge · proxy | 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed source | writedepositTransaction(address,uint256,uint64,bool,bytes) writefinalizeWithdrawalTransaction((uint256,address,address,uint256,uint256,bytes)) | Full ABI |
optimism · chain id 10
| Contract | Address | Key functions | Try |
|---|---|---|---|
| L2StandardBridge (OP Mainnet predeploy) bridge | 0x4200000000000000000000000000000000000010 source | writebridgeETH(uint32,bytes) writewithdraw(address,uint256,uint32,bytes) writewithdrawTo(address,address,uint256,uint32,bytes) | Full ABI |
| L2ToL1MessagePasser (OP Mainnet predeploy) bridge | 0x4200000000000000000000000000000000000016 source | writeinitiateWithdrawal(address,uint256,bytes) | Full ABI |
Notes
DefiLlama lists this bridge with Base and PGN chains. This file covers the OP Mainnet bridge only. Base has its own entry (base-bridge). The L2 predeploys are the same address on every OP Stack chain. Contract bytecode for the Ethereum addresses was checked with eth_getCode.
Sources
- https://raw.githubusercontent.com/ethereum-optimism/superchain-registry/main/superchain/extra/addresses/addresses.json
- https://specs.optimism.io/protocol/predeploys.html
- https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/packages/contracts-bedrock/src/universal/StandardBridge.sol
- https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/packages/contracts-bedrock/src/L1/OptimismPortal2.sol
- https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/packages/contracts-bedrock/src/L2/L2StandardBridge.sol
- https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/packages/contracts-bedrock/src/L2/L2ToL1MessagePasser.sol
- https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/packages/contracts-bedrock/src/libraries/Types.sol
- https://defillama.com/protocol/optimism-bridge
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.