Skip to main content
Bridge, swap, and interact across chains in one transaction. User signs once—MEE handles timing, confirmations, and execution.

How It Works

  1. User signs a single message
  2. MEE executes operations on the source chain
  3. MEE waits for bridge completion
  4. MEE executes operations on the destination chain
  5. User receives final tokens

Basic Cross-Chain Flow

Runtime Injection for Bridge Outputs

Since bridge outputs aren’t known upfront, use runtimeERC20BalanceOf:
Automatic Sequencing: MEE retries the swap instruction until the constraint is satisfied (bridge tokens have arrived).

Fusion Mode for External Wallets

For MetaMask/Rabby users:

Example: Bridge → Swap → Deposit

Complete flow: USDC on Arbitrum → WETH yield on Base

Key Benefits

Important: Cross-chain transactions are not atomic—only single-chain batches are fully atomic (all-or-nothing). For cross-chain flows, if a step fails after bridging, tokens won’t be lost—use cleanup transactions to programmatically return funds to the user’s wallet.

Next Steps

Composable Batching

Deep dive into dynamic parameters