Swap tokens on Optimism
BlazePhoenix swaps tokens on Optimism, an L2 network, through a Router contract at 0x7262e7483ab6f0db7b8f90eC3a9de3B02Ab36F6A. The quote is computed on-chain by the Quoter contract and your minimum output is enforced by the Router, so a swap that cannot deliver it reverts.
How a swap on Optimism works
- Open the swap on Optimism. Open the BlazePhoenix swap and select Optimism. Connect any wallet; there is no account and no KYC.
- Pick the two tokens. Choose the token you pay with and the token you want. 21 tokens are on the curated Optimism list; any other token can be pasted by contract address.
- Read the quote and the Phoenix Check. The Quoter contract computes the quote with previewPlan, an eth_call. The Phoenix Check reviews it with deterministic invariants before you sign.
- Set slippage and confirm. Your slippage setting becomes the on-chain minimum output (minOut). The Router reverts the swap if it cannot deliver at least that amount.
- Quote: an
eth_callto the Quoter (previewPlan), reproducible by anyone. - Phoenix Check: a deterministic invariant panel on every quote. It is not an AI and it fails closed (details).
- minOut: the minimum output the Router enforces on-chain, derived from your slippage setting.
Contracts and assets on Optimism
Read from the registry the swap itself uses. Check each address on the explorer before you trade.
- Router: 0x7262e7483ab6f0db7b8f90eC3a9de3B02Ab36F6A
- Quoter: 0xfB18EF6f62A0278A273Af4b7A46b454F9E482dc2
- WETH: 0x4200000000000000000000000000000000000006
- USDC: 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
Protocol version 1.0.0. Full contract set on /verify.
Popular Optimism swaps
9 curated pairs, each with its own page and a prefilled swap. Any token not listed can be pasted by contract address.
Frequently asked questions
How do I swap tokens on Optimism?
Open the BlazePhoenix swap, select Optimism, pick the input and output tokens, review the quote and the Phoenix Check, set your slippage and confirm in your wallet. The slippage you set is enforced on-chain as the minimum output.
Which contracts handle a swap on Optimism?
The Router at 0x7262e7483ab6f0db7b8f90eC3a9de3B02Ab36F6A executes the swap and the Quoter at 0xfB18EF6f62A0278A273Af4b7A46b454F9E482dc2 computes the quote (protocol version 1.0.0). Both addresses are linked below to the Optimism block explorer so you can read the code yourself.
Do I need an account or KYC to swap on Optimism?
No. The swap is self-custodial: tokens stay in your wallet until the transaction executes on-chain.
Where does the quote come from?
From the Quoter contract, as an eth_call (previewPlan) read through an RPC node. You can set your own RPC in the app, or run the same call yourself with the quote API: it returns the exact call to run on your node and decodes the result.
Related
Other networks: Base · Arbitrum · Robinhood Chain.
Guides: How to swap safely · How to read a quote · What is slippage? · WETH vs ETH · What is a DEX aggregator? · Cheapest chain to swap on.
Questions, a partnership or a bug to report? Contact us or email contact@blazephoenix.xyz