ข้ามไปยังเนื้อหาหลัก

คู่มือผู้ใช้: การแลกเปลี่ยน

ต้องแปลบทความนี้หรือไม่

MetaMask Swap เป็นคุณสมบัติหนึ่งของ MetaMask ที่ให้คุณทำได้ตามชื่อ นั่นคือการแลกเปลี่ยนโทเค็นเงินคริปโตประเภทหนึ่งเป็นโทเค็นอีกประเภทหนึ่ง (ข้อมูลเพิ่มเติมเกี่ยวกับโทเค็น ERC-20 และความแตกต่างระหว่างโทเค็นเหล่านี้กับ NFT โปรดดูคู่มือผู้ใช้ของเรา) คุณสมบัตินี้ทั้งสะดวกและตรงไปตรงมา โดยช่วยลดจำนวนขั้นตอนที่ต้องทำและลดการใช้สมาร์ตคอนแทรกของบุคคลที่สามได้อย่างมาก เพื่อให้ได้โทเค็นที่คุณสนใจ

You can use MetaMask Swaps either on MetaMask Extension, MetaMask Mobile, or MetaMask Portfolio. ต่อไปนี้คือเครือข่ายการแลกเปลี่ยนที่ให้บริการในปัจจุบันทาง:

  • เครือข่ายหลัก Ethereum
  • BNB Smart Chain
  • Avalanche C-Chain
  • Polygon
  • Optimism
  • Arbitrum
  • zkSync Era
  • Linea
  • Base

สิ่งที่ต้องรู้ก่อนการแลกเปลี่ยน:

  • ถึงแม้ว่าโทเค็นสอดคล้องกับมาตรฐาน ERC-20 คุณก็ไม่ควรซื้อหรือรับโทเค็นโดยไม่ได้ค้นคว้าข้อมูลก่อน ความแปลกใหม่อย่างหนึ่งของเงินคริปโตและการเงินแบบกระจายศูนย์คือ ลักษณะการทำงานของโปรแกรม โดยโทเค็นไม่จำเป็นต้องเป็นสินทรัพย์คงที่ และอาจมีฟังก์ชันที่ส่งผลต่อการใช้งาน หรือส่งผลต่อวอลเล็ตของคุณ ตัวอย่างเช่น แบบนี้ แน่นอนว่า มีคำเตือนอื่น ๆ ที่เป็นอันตรายน้อยกว่า เช่น คุณสามารถรับโทเค็นบางชนิดได้ แต่เพื่อให้ได้ประโยชน์จากโทเค็น คุณจะต้องวางเดิมพันบนแพลตฟอร์มที่กำหนด
  • ค่าความคลาดเคลื่อน (Slippage) คือจำนวนการเปลี่ยนแปลงระหว่างราคาที่คุณคลิกและราคาสุดท้ายที่ทำธุรกรรมที่ MetaMask Swap จะยอมรับได้ เนื่องจากการเงินกระจายศูนย์และเงินคริปโตนั้นมีสภาพคล่องสูงและมีความผันผวน ราคาจึงอาจเปลี่ยนแปลงได้แบบวินาทีต่อวินาที ด้วยเหตุนี้ Swaps จึงช่วยให้กำหนดค่าส่วนต่างได้เล็กน้อยระหว่างราคาที่คุณตกลงและราคาสุดท้าย เพื่อให้แน่ใจว่าธุรกรรมจะผ่านได้ แต่ค่าคลาดเคลื่อนได้ไม่มากเกินไป เพื่อปกป้องคุณราคาที่พุ่งขึ้นหรือลดลงฉับพลัน

MetaMask user guide swaps
slippage

  • โทเค็นที่กำหนดเอง คือคำที่ MetaMask ใช้เรียกโทเค็นที่ไม่ได้ใช้บ่อยหรือไม่แพร่หลายเพียงพอที่จะอยู่ในรายการโทเค็นมาตรฐานของ MetaMask ซึ่งจะตรวจจับเป็นค่าเริ่มต้นเมื่อคุณเลือกเครือข่ายหลัก Ethereum (และเครือข่ายยอดนิยมอื่น ๆ) เป็นเครือข่ายของคุณใน MetaMask หากคุณแลกเปลี่ยนโทเค็นบางส่วนเข้าสู่กระเป๋าเงินของคุณ แต่ไม่เห็นโทเค็นเหล่านั้น (หลังจากรอสองถึงสามนาที โปรดอย่าลืมว่าบล็อกเชนนั้นทำงานรวดเร็ว แต่ไม่ใช่ในทันที) ลองเพิ่มโทเค็นด้วยตนเอง
  • Our support articles are for MetaMask Swaps only. กล่าวอีกนัยหนึ่งคือ MetaMask ให้การสนับสนุนสำหรับการแลกเปลี่ยนที่เกิดขึ้นผ่านทางการใช้ปุ่ม MetaMask Swaps หากคุณแลกเปลี่ยนโดยตรงบนแพลตฟอร์มอื่นหรือ DEX อื่น MetaMask อาจให้คำแนะนำหรือแนวทางทั่วไป แต่ ไม่ควรถือการสรุปขั้นสุดท้าย โปรดติดต่อทีมสนับสนุนหรือชุมชนของตลาดแลกเปลี่ยนหรือแพลตฟอร์มที่คุณจะแลกเปลี่ยน เพื่อขอความช่วยเหลือ
warning

โปรดจำไว้ว่า: MetaMask เป็นเพียงตัวกลางการแลกเปลี่ยนเท่านั้น!

เมื่อคุณใช้ MetaMask Swaps คำนึงอยู่เสมอว่า MetaMask ทำหน้าที่เป็นผู้รวบรวมหรือตัวกลาง โดยเรารวบรวมการเสนอราคาและมอบข้อเสนอที่ให้ประโยชน์สูงสุดกับคุณ จากตรงนั้น คุณสามารถตัดสินใจว่าจะดำเนินการธุรกรรมกับผู้ให้บริการแพลตฟอร์ม/สภาพคล่องดังกล่าวหรือไม่ MetaMask มิได้จัดหาสภาพคล่อง ดำเนินการซื้อขาย หรือขายโทเค็นให้คุณแต่อย่างใด

พร้อมที่จะเริ่มใช้งานหรือยัง

ไม่สำคัญว่าคุณจะใช้ MetaMask Extension หรือ Mobile การรับโทเค็นที่คุณต้องการนั้นทำได้ด้วยการคลิกหรือแตะเพียงไม่กี่ครั้งเท่านั้น

Swaps in MetaMask Portfolio

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'.

MetaMask Swaps icon
locate

หน้าจอ Swap หลักจะปรากฏขึ้นมา:

MetaMask swaps main screen extension

การเตรียมการแลกเปลี่ยน

  • ขั้นแรก เลือกโทเค็นที่คุณมี ที่คุณยินดี 'spend' (ใช้จ่าย) โดยใช้เมนูแบบเลื่อนลงที่ด้านบน
  • เลื่อนลงมา เลือกโทเค็นที่คุณสนใจที่จะรับโดยใช้เมนูแบบเลื่อนลงที่สอง
  • ปรับจำนวนของโทเค็นแรกขึ้นหรือลงจนกว่าคุณจะพอใจกับจำนวนเงินที่คุณจะจ่ายและจำนวนเงินที่คุณจะได้รับ

คุณจะเห็นแอปดำเนินการตามขั้นตอนการค้นหาเพื่อค้นหาราคาที่ดีที่สุด กระบวนการนี้เป็นขั้นตอนที่ปิดเป็นความลับในการทำให้ MetaMask Swap เป็นบริการสวอปที่ถูกที่สุดและดีที่สุด มีหลายสิ่งเกิดขึ้นมากมายอยู่เบื้องหลังขณะที่คุณกำลังดูการค้นหา Swap

ก่อนอื่น Swaps จะค้นหาทั่วตลาดแลกเปลี่ยนโทเค็นแบบกระจายศุนย์และโพรโตคอลการแลกเปลี่ยนโทเค็น เพื่อค้นหาอัตราแลกเปลี่ยนที่ดีที่สุดให้แก่คุณ

ในขณะเดียวกัน ระบบจะรันธุรกรรมทดสอบ เพื่อตรวจสอบให้แน่ใจว่าหากคุณตัดสินใจส่งธุรกรรมแล้ว ธุรกรรมนั้นมีแนวโน้มว่าจะผ่าน และหากทดสอบแล้วว่าอาจจะไม่ผ่าน ตัวเลือกเหล่านั้นจะถูกกรองออกไป **MetaMask พยายามช่วยไม่ให้ผู้ใช้ต้องเจ็บตัวจากการทำธุรกรรมที่ล้มเหลว **: เนื่องด้วยค่าแก๊สของเครือข่ายหลัก Ethereum และความซับซ้อนของสมาร์ตคอนแทรกของโทเค็น ธุรกรรมที่ล้มเหลวจะเพิ่มความเสียหายทางการเงินอย่างมีนัยสำคัญนอกจากโค้ดผิดพลาดที่แทบไม่มีทางเข้าใจ อัตราความล้มเหลวของ Swap นั้นต่ำมาก และเราคอยปรับปรุงเพื่อให้ความล้มเหลวแทบไม่เกินขึ้นอีก

ผู้ใช้ที่ช่างสังเกตบางรายจะสังเกตเห็นที่มุมล่างซ้ายในหน้าจอก่อนหน้านี้ว่ามีการกล่าวถึง "ค่าความคลาดเคลื่อน 2%" ค่าความคลาดเคลื่อนเป็นอีกพารามิเตอร์หนึ่งที่ Swap เพื่อประโยชน์ของคุณ และจะอธิบายรายละเอียดเพิ่มเติมด้านบน

เมื่อประมวลผลตัวเลข DeFi เสร็จแล้ว คุณจะเห็นหน้าจอการเสนอราคา:

MetaMask swaps quote screen
extension

การดำเนินการแลกเปลี่ยน

มีหลายสิ่งเกิดขึ้นที่นี่ แต่ไม่ต้องตกใจ 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.

The main feature is in the middle of the screen: the amount of tokens that you are going to acquire (keeping in mind slippage) as of the last quote. คุณสามารถดูรายละเอียด เช่น อัตราแลกเปลี่ยน และคุณสามารถเลือกดูวิธีคำนวณการเสนอราคา รวมถึงการตั้งค่าแก๊สขั้นสูงได้

info

ทำไมโทเค็นที่แลกเปลี่ยนแล้วถึงไม่ปรากฏในวอลเล็ตของฉัน

เหมือนกันกับทุก ๆ ธุรกรรมบล็อกเชนที่จะไม่ได้เกิดขึ้นทันที แต่คุณควรเห็นโทเค็นในวอลเล็ตของคุณในไม่ช้า หากเป็นโทเค็นที่ไม่ได้เป็นที่รู้จัก หรือด้วยเหตุผลใดก็ตามที่ทำให้โทเค็นไม่ปรากฏในวอลเล็ตของคุณ ให้ทำตามคำแนะนำของเราที่นี่เพื่อเพิ่มโทเค็น

ค่าแก๊ส

Gas fees estimate

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

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.

MetaMask Gas Station
screen

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:

  1. Open your MetaMask interface and click 'Send'.
  2. Select the address you wish to send funds to.
  3. Choose the asset you wish to send from your account.
  4. Choose the asset you wish the recipient account to receive.
  5. 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.

เข้าสู่ SwapVerse

หนึ่งในสิ่งที่น่าเหลือเชื่อแท้จริงเกี่ยวกับ MetaMask และเหตุผลประการหนึ่งที่ทำให้คุณได้รับประสบการณ์การแลกเปลี่ยนโทเค็นที่ไม่มีใครเทียบได้ นั่นคือแพลตฟอร์มนี้ได้รับการสร้างขึ้นมาเพื่อให้เป็นเครือข่ายที่ทำงานข้ามระหว่างกันได้: ตราบใดที่เครือข่ายบล็อกเชนที่คุณเชื่อมต่อนั้นทำงานร่วมกันได้กับ Ethereum คุณก็สามารถกำหนดค่า MetaMask ให้ทำงานกับเครือข่ายนั้นได้ So what?

ซึ่งหมายความว่า คุณสามารถใช้ MetaMask Swap บนเครือข่ายอื่น ๆ ได้ด้วย ตัวอย่างเช่น คุณไม่จำเป็นต้องอยู่บนเครือข่ายหลัก Ethereum คุณก็สามารถใช้ Swap บน Polygon ได้ เมื่อเชนข้างเคียงและเครือข่ายที่กำหนดเองอื่น ๆ ออนไลน์ ก็ลองใช้เลย Swap ช่วยให้คุณสามารถแลกเปลี่ยนโทเค็นบนเครือข่ายที่เข้ากันได้กับ Ethereum ได้จากวอลเล็ตของคุณโดยตรง โดยไม่ต้องเชื่อมต่อกับแพลตฟอร์มของบุคคลที่สามโดยตรง ดังนั้นจึงลดความเสี่ยงต่อการพบกับสมาร์ตคอนแทรกที่อาจถูกแฮกได้หรือที่มุ่งร้าย

You even have the ability, through Swaps, to acquire non-Ethereum tokens on mainnet. But remember: always navigate the multiverse through bridges and portals.

คำถามที่พบบ่อย

ทำไมโทเค็นส่วนจึงหายไปจาก MetaMask Swap

วิธีการดูราคาตอนซื้อโทเค็นที่ซื้อผ่าน MetaMask Swap

ทำไมการแลกเปลี่ยน MetaMask ถึงล้มเหลว

ทำไมปุ่ม MetaMask Swap จึงใช้งานไม่ได้ / เป็นสีเทา

**ฉันแลกเปลี่ยนไปแล้ว แต่ได้รับโทเค็นหรือมูลค่าเฟียตน้อยกว่าที่ฉันคาดไว้ เพราะเหตุใด

ข้อผิดพลาดในการเรียกดูการเสนอราคา

เคล็ดลับการสนับสนุนและการแก้ไขปัญหา Uniswap

คู่มือผู้ใช้: เครือข่ายที่กำหนดเองและเชนข้างเคียง