How to make swaps or direct exchanges on MetaMask.

Traditionally, swaps or token exchanges on MetaMask were done through a DeFi protocol. Specifically, through a DEX or Decentralized Exchange.

However, MetaMask has enabled token swaps natively within the browser extension. To do it this way, follow these steps:

  1. Open your MetaMask wallet and ensure you have enough funds to perform the swap. Also, make sure you are connected to the correct blockchain and have the right amount of the network's native token in your wallet to pay for gas fees.
  2. Click on the "Buy" or "Swap" button on the "Assets" tab of your MetaMask wallet.
  3. A window will open allowing you to select the tokens you want to swap. Select the token you want to swap in the "From" field and the token you want to receive in the "To" field.
  4. Enter the amount you want to swap in the "From" field and the estimated amount you will receive in the "To" field. The estimated amount will be calculated automatically based on current exchange rates.
  5. Click the "Continue" button and verify that the transaction information is correct.
  6. Confirm the transaction and wait for the swap to be completed. The time it takes for the transaction to complete may vary depending on the blockchain and network congestion at that time.
  7. Once the swap is completed, the exchanged tokens will appear in your MetaMask wallet.

It is important to note that gas fees for a swap can vary depending on the blockchain and network congestion at that time. Therefore, it is recommended to check the current gas fees before performing a swap to ensure they are within your budget.

Another simple way to make cryptocurrency swaps directly with MetaMask is through the MetaMask portfolio application. You can access it at portfolio.metamask.io and click on the "Swap" option in the left column.

MetaMask uses certain DEX as providers to perform swaps natively. Therefore, the availability of tokens will be limited to those present in these DEX.

If you want to make a swap with a token that is not available in MetaMask, you will have to do it directly on a DEX that operates with that token.

To find out which DEX you can use for the swap, it is recommended to follow these steps:

  1. Access a cryptocurrency tracking page. In this example, we will use coinmarketcap.com.
  2. Use the search function to find your token.
  3. Click on the "Markets" tab to see on which platforms it is available.
  4. Filter the results by clicking on the "DEX" tab. The application will show you all the decentralized exchanges and the trading pairs where the token is available.