Gebruikersgids: Swaps
Moet dit artikel vertaald worden?
Dien vertalingen, correcties en suggesties in op GitHub of neem contact op via onze communityforums.
MetaMask Swaps is een functie van MetaMask waarmee je de ene cryptocurrency-token voor een andere kunt ruilen (meer informatie over ERC-20-tokens en het verschil met NFT's vind je in onze gebruikersgids). Deze handige en gebruiksvriendelijke functie heeft veel minder stappen om de verschillende tokens te verkrijgen, en je wordt hierbij ook minder blootgesteld aan slimme contracten van derden.
You can use MetaMask Swaps either on MetaMask Extension, MetaMask Mobile, or MetaMask Portfolio. Hier zijn de netwerken waar Swaps momenteel beschikbaar op is:
- Ethereum-mainnet
- BNB Smart Chain
- Avalanche C-Chain
- Polygon
- Optimism
- Arbitrum
- zkSync Era
- Linea
- Base
Wat moet je weten voordat je gaat swappen?
- Zelfs als een token aan de ERC-20-norm voldoet, kun je toch beter onderzoek doen voordat je een token koopt of aanschaft. Wat cryptovaluta en gedecentraliseerde financiering revolutionair maakt, is hun programmatische aard. Een token is niet per se een statisch activum. Het kan functies hebben die van invloed zijn op de manier waarop het wordt gebruikt maar ook op je wallet, zoals hier bijvoorbeeld. Er zijn natuurlijk ook andere, minder kwaadaardige zaken waarmee je rekening moet houden: sommige tokens kun je bijvoorbeeld wel kopen, maar om het nut dat ze bieden te gebruiken, moet je ze op een specifiek platform staken.
- Slippage is het verschil tussen de prijs waarop je klikt en de uiteindelijke transactieprijs die MetaMask Swaps toestaat. Gezien de uiterst liquide en schommelende aard van gedecentraliseerde financiën en cryptovaluta, kunnen prijzen van de ene op de andere seconde wijzigen. Swaps laten alleen een beperkt verschil toe tussen de afgesproken prijs en de uiteindelijke prijs, zodat je transactie wordt afgehandeld zonder dat je wordt blootgesteld aan plotselinge pieken of dalingen.
- Custom tokens is wat MetaMask die tokens noemt die niet algemeen of wijdverspreid genoeg zijn om in de standaardlijst van tokens van MetaMask te staan, die standaard worden gedetecteerd wanneer je Ethereum-mainnet (en een handjevol andere populaire netwerken) hebt geselecteerd als jouw netwerk in MetaMask. Als je wat tokens naar je wallet swapt, maar deze na enkele minuten nog niet ziet, kun je proberen om ze handmatig toe te voegen. Blockchain is wel snel, maar niet onmiddellijk.
- Onze ondersteunende artikelen zijn alleen van toepassing op MetaMask Swaps. Met andere woorden: MetaMask biedt ondersteuning voor de swaps die gebeuren door het gebruik van de MetaMask Swaps-knop. Als je swaps rechtstreeks uitvoert op een ander platform of een andere DEX, kan MetaMask enige algemene oriëntatie of begeleiding bieden, maar dat moet niet als definitief worden beschouwd; neem voor hulp contact op met het ondersteuningsteam of de community voor de beurs of het platform waar je swapt.
Vergeet niet: MetaMask fungeert slechts als intermediair in je swap!
Wanneer je MetaMask Swaps gebruikt, bedenk dan dat MetaMask optreedt als een aggregator of intermediair: we verzamelen prijsvoorstellen en bieden je de meest voordelige. Van daaruit kun je beslissen of je al dan niet doorgaat met de transactie met het betreffende platform of de betreffende liquiditeitsprovider. MetaMask biedt geen liquiditeit, voert de transactie niet uit en verkoopt je geen tokens.
Wil je het proberen?
Het maakt niet uit of je MetaMask als Extensie of Mobiel gebruikt; in een paar klikken of tikken verkrijg je de tokens die je wilt.
You can also use Swaps in MetaMask Portfolio. The steps are almost identical to Swaps in MetaMask Extension. In any case, the concepts listed below apply to all platforms.
On the main MetaMask screen, look for a toggle marked 'swap'.
Je krijgt nu het hoofdscherm voor swaps te zien:
- Extensie
- Portfolio
- Mobiel
Je swap voorbereiden
- Selecteer eerst bovenaan in het vervolgkeuzemenu de token die je hebt, en die je wilt 'besteden'.
- Kies hierna, in het tweede vervolgkeuzemenu, de token die je wilt aanschaffen.
- Pas de hoeveelheid van de eerste token aan, tot je tevreden bent over de hoeveelheid die je wilt besteden, en het aantal dat je aanschaft.
Je ziet hoe de app een proces doorloopt waarbij naar de beste prijs wordt gezocht. Dit proces is het geheime ingrediënt van MetaMask Swaps, waardoor het de goedkoopste en beste swapservice is. Terwijl jij kijkt hoe Swaps aan het zoeken is, gebeurt er heel wat achter de schermen.
Allereerst zoekt Swaps op gedecentraliseerde beurzen en swap-protocollen voor tokens naar de voordeligste wisselkoers.
Tegelijkertijd worden er testtransacties uitgevoerd om te controleren of, wanneer je uiteindelijk beslist om een transactie door te voeren, deze zo goed als zeker afgerond zal worden. De niet gelukte testtransacties worden uit je lijst gefilterd. MetaMask ontneemt je hier alle zorgen over mislukte transacties: met de gas fees van het Ethereum-mainnet en de complexiteit van smart contracts betekent een mislukte transactie niet alleen een pijnlijke onbegrijpelijke foutcode, maar brengt deze ook aanzienlijke financiële schade toe. Het percentage mislukkingen van Swaps is zeer laag, en er zijn verbeteringen in de maak om dit percentage op zo goed als nul te zetten.
Lezers met een scherp oog hebben natuurlijk op het vorige scherm in de linkerbenedenhoek de vermelding '2% slippage' gezien. Slippage is een andere parameter die Swaps in je voordeel gebruikt, en het wordt hierboven in detail uitgelegd.
Na al dat DeFi-rekenwerk, kom je op het offertescherm:
Je swap uitvoeren
Hier komt redelijk wat bij kijken, maar maak je geen zorgen. First of all, up at the top, you'll see that MetaMask Swaps is continuing to do all the work that we mentioned previously on an ongoing basis, ensuring that you're getting the most up-to-date price and availability.
De belangrijkste info staat in het midden van het scherm: het aantal tokens dat je aanschaft (rekening houdend met slippage) volgens het laatste prijsvoorstel. Je krijgt details te zien zoals de wisselkoers, en als je wilt, kun je zien hoe het prijsvoorstel is berekend en wat de geavanceerde instellingen voor gas zijn.
Waarom zijn mijn geswapte tokens niet in mijn wallet te zien?
Net als bij andere blockchain-transacties gebeurt de overdracht niet onmiddellijk, maar het duurt beslist niet lang voor je je tokens in je wallet ziet. Als het geen bekende tokens zijn, of ze om een andere reden niet in je wallet verschijnen, kun je hier onze instructies volgen om ze toe te voegen.
Gas fees
Within the MetaMask Swaps interface, you’ll see two values, the estimated gas fee, displaying the expected cost of executing the transaction, and the max fee, which is the maximum amount you’ll pay for gas. Depending on network activity, the actual cost of gas may be higher or lower than the estimated gas fee, but will never be higher than the max fee shown on this screen.
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 a convenient gas station, allowing you to fill up on gas and swap your tokens in one transaction.
Prerequisites for using MetaMask Gas Station:
- The swap must be on Ethereum Mainnet
- You do not have enough ETH in your wallet to cover gas
- The value of your swap is greater than the cost of gas
- You have Smart Transactions enabled
- You use version 12.6.0 or higher of the MetaMask Extension, or version 7.43 or higher of MetaMask Mobile
If your swap meets these prerequisites, we will automatically include gas costs in the quote you receive. For example, let’s say you want to swap 400 USDC into DAI, but you don’t have enough ETH to cover gas. If the max gas fee is estimated to be $9.41, that amount is subtracted from the amount of DAI you would receive.
Using MetaMask Gas Station allows you to proceed with your swap without having to manually purchase & transfer more ETH to your wallet, because MetaMask handles this in the transaction. The ‘max fee’ associated with your swap will be priced into the quote, and if the actual gas fee is lower than this estimated amount, any unused ETH will be added to your wallet following completion of your transaction.
Frequently asked questions
What if the value of my swap is less than the cost of gas?
- You’ll be unable to use the MetaMask Gas Station if the value of your swap is less than the cost of gas. In this case, you can always buy more ETH to cover gas.
Can I use MetaMask Gas Station on other networks?
- MetaMask Gas Station is only available on Ethereum Mainnet. For other networks, MetaMask offers the ability to buy tokens directly from your wallet. This provides you with a convenient way to top-up your gas balance and continue with your swap.
What tokens can I use MetaMask Gas Station with?
- You’ll be able to use the MetaMask Gas Station for swaps that include one or more of the following tokens:
- USDT
- USDC
- DAI
- ETH
- wETH
- wBTC
- wstETH
- wSOL
Can I use MetaMask Gas Station if I have enough gas already?
- MetaMask Gas Station is only intended for you to use when you do not have enough gas. If you have enough gas, you will be able to review and complete your swap like normal.
If you're ready to go, click the Swap button!
Send and swap crypto at the same time
Whenever you're sending funds from one account to another, you can choose which token you want to spend and select the token the other person wants to receive. This way, you won't have to first swap one token for another and then create another transaction to send it someone's way; saving you both time and gas.
To use MetaMask's 'Send & Swap' feature:
- Open your MetaMask interface and click 'Send'.
- Select the address you wish to send funds to.
- Choose the asset you wish to send from your account.
- Choose the asset you wish the recipient account to receive.
- Review the quote, and confirm your transaction!
This feature is currently available on MetaMask Extension, with MetaMask Mobile and Portfolio coming soon. Please note that this method does not yet support Smart Transactions.
Swap to an exact output amount
Now, instead of only choosing how much of a token you want to swap, you can specify the exact amount of funds you want the recipient to receive. This automatically calculates and fills in the necessary amount of tokens you need to send.
This feature is currently available on MetaMask Portfolio, with MetaMask Extension and Mobile coming soon.
Maak kennis met SwapVerse
Een van de echt geweldige kenmerken van MetaMask, en waarom het je een ongeëvenaarde tokenswap-ervaring biedt, is dat het netwerkagnostisch is: zolang het blockchain-netwerk waarmee je verbinding maakt compatibel is met Ethereum kun je ervan uitgaan dat MetaMask ermee werkt. Wat houdt dit precies in?
Je kunt dus MetaMask Swaps ook op andere netwerken gebruiken. Je hoeft niet op het Ethereum-mainnet te zitten. Je kunt Swaps bijvoorbeeld ook op Polygon gebruiken. Er komen steeds meer andere sidechains en aangepaste netwerken online. Probeer het. Met Swaps kun je direct vanuit je wallet tokens ruilen op elk Ethereum-compatibel netwerk, zonder dat je rechtstreeks verbinding hoeft te maken met platforms van derden. Hierdoor word je minder blootgesteld aan potentieel hackbare of kwaadaardige slimme contracten.
Je kunt via Swaps zelfs aan niet-Ethereum-tokens op mainnet komen. Vergeet niet: Navigeer altijd door het multiverse via bruggen en portals.
Veelgestelde vragen
Waarom ontbreken er tokens in MetaMask Swaps?
Hoe zie ik, op het moment van aankoop, de prijs voor tokens die via MetaMask Swaps worden gekocht?
Waarom is mijn MetaMask-swap mislukt?
Waarom is de MetaMask Swap-knop niet beschikbaar/grijs weergegeven?
Ik heb een swap gedaan, maar kreeg minder tokens of fiat-geld dan ik had verwacht. Hoe komt dit?
Fout bij ophalen van prijsvoorstel
Ondersteuning en tips voor het oplossen van problemen met Uniswap