用户指南:Swaps
MetaMask Swaps is a feature that allows you to swap one cryptocurrency token for another. It's super convenient and straightforward, reducing the number of steps and third-party smart contracts needed in order to obtain tokens that interest you.
Bridging (transferring assets between networks) can now be done easily through MetaMask Swaps on Extension and Mobile. Just click the 'Swap' button and select the network and token you want to exchange.
You can use MetaMask Swaps either on MetaMask Extension, MetaMask Mobile, or MetaMask Portfolio across various networks:
- 以太坊主网
- Solana
- BNB 智能链
- Avalanche C-链
- Polygon
- Optimism
- Arbitrum
- zkSync Era
- Linea
- Base
- Sei
When you use MetaMask Swaps, remember that MetaMask is acting as an information aggregator: we pull together quotes so you can find the most advantageous one.
From there, you can decide whether or not to proceed with the transaction with the platform or liquidity provider at hand. MetaMask does not provide the liquidity, execute the trade, or give you any advice whatsoever as to what tokens you should swap.
How to swap
It doesn't matter whether you're on MetaMask Extension, Mobile, or Portfolio, getting the tokens you want is only a few clicks—or taps—away.
- On the main MetaMask screen, click the 'Swap' button.
- Select the token you want to exchange (and from what network, if swapping across chains) (Example: ETH on Ethereum)
- Select the token you want to receive (and to what network, if swapping across chains) (Example: SOL on Solana)
- Enter the amount you want to exchange.
- Review quote and confirm transaction.
我们的支持文章仅涉及 MetaMask Swaps。 换言之,MetaMask 通过使用 MetaMask Swaps 按钮为兑换提供支持。 如果您直接在不同平台或另一个去中心化交易所(DEX)上执行兑换,MetaMask 可能会提供一些一般入门介绍或指导,但并非权威指导;请联系进行兑换的交易所或平台支持团队或社区获取帮助。
Behind the scenes
Swaps is searching across decentralized token exchanges and token swapping protocols to find you the most advantageous exchange rate.
At the same time, it's running test transactions, checking to make sure that if you do end up submitting a transaction, that it's likely to go through — and if not, those options are filtered out. **MetaMask is saving users here from the pain of a failed transaction**: with Ethereum mainnet gas fees and the complexity of token smart contracts, a failed transaction adds a significant financial injury to the insult of an incomprehensible error code. Swap's failure rate is very low, and improvements are in the works to make it almost nonexistent.
Gas fees
Within MetaMask Swaps, you’ll see a value—network fee—which is the transaction fee. Depending on network activity, the gas fee can fluctuate.
To learn more about gas fees, please visit this guide.
What if I don't have enough gas?
Don’t have enough gas to cover your swap? Don't worry – MetaMask now offers gasless swaps, allowing you to fill up on gas and swap your tokens in one transaction. This feature is only available on Ethereum Mainnet, BNB Smart Chain, and Base (Extension only).
Smart Transactions enabled
MetaMask versions - version 12.6 or later (Extension) or version 7.43 or higher (Mobile)
'Estimate balance changes’ enabled - this setting is on by default. To find it, go to Settings > Security & privacy, and toggle ‘Estimate balance changes’ on.
Note: Gasless swaps on Base has slightly different prerequisites. For more information, check out 'How to use gasless swaps'.
If your swap meets these prerequisites, we will automatically include gas costs in the quote you receive.
If you're ready to go, click the Swap button!
As with all blockchain transactions, it's not instantaneous, but you should see your tokens in your account soon. If they're uncommon tokens, or for whatever reason they're not showing up in your account, follow our instructions here to add them.
Questions
How are fees calculated?
The fee structure is broken down into:
- Quote rate: the exchange rate for the tokens
- Network fee: gas to execute the swap
- MetaMask fee: 0.875%
What aggregators and bridges do you use?
We source bridging options through aggregators (Li.fi and Socket) and providers (Hop, Celer cBridge, Polygon PoS Bridge, Squid (Axelar), Across, Stargate, Relay, Mayan, and CCTP).
I haven't received my tokens in the time I should have. What should I do?
The time we quote is an estimate, and delays can happen for several reasons, such as a change in network conditions. In most cases, the transfer is just delayed and will still go through automatically. If you've already waited over three hours and your transfer is still in progress, please contact MetaMask Support by clicking the 'Contact Support' button on the home page of this site.
Other resources
使用 MetaMask Swaps 购买代币时,如何查看代币价格