Cách hiển thị token trong MetaMask
MetaMask automatically displays popular ERC-20 standard tokens (Ethereum-based standard tokens) and SPL-standard tokens (Solana-based standard tokens) you own on your account page.
However, with the proliferation of tokens on Ethereum and other networks, MetaMask doesn't maintain an authoritative list of tokens — you can add any ERC-20-compliant token you hold if you don't see it in your account balance.
There are two different ways to add unlisted tokens to your MetaMask:
- Enhanced token detection feature (enabled by default for new users on EVM-networks and Solana).
- Manually adding a token with search or address (only available on EVM-networks currently).
Enhanced token detection
Enhanced token detection is available on Ethereum Mainnet, Linea, Avalanche, BNB Smart Chain, Polygon, Arbitrum, Optimism, Base, zkSync, and Solana.
If you're a new MetaMask user, token detection is enabled by default. If you're an older user, you might have to turn it on:
- Tiện ích mở rộng
- Di động
Click on the menu in the upper right-hand corner of the wallet view, navigate to 'Settings', and then 'Security & Privacy'.
Make sure the 'Autodetect tokens' toggle is on.
Tap the menu icon in the top-right corner and tap 'Advanced'.
Scroll until you find the token detection toggle.
Một khi bạn đã bật phát hiện token, hãy trở lại danh sách tài sản của bạn, và F5 nó nếu cần, và nếu đúng thì bất cứ token nào bạn chưa thấy giờ sẽ được hiển thị.
Note that token detection takes place on Ethereum mainnet regardless of whether this setting is on or off; enhanced token detection just expands this function to cover the additional networks listed above.
How it works
Enhanced token detection uses lists of tokens aggregated from various community token lists; MetaMask doesn't keep a proprietary list of 'accepted' or 'valid' tokens. Keep in mind that you should always exercise caution surrounding unfamiliar tokens:
- Don't interact with or connect your MetaMask to any website that you're not familiar with, you haven't researched and have no reason to believe to be trustworthy.
- Hãy luôn nghi ngờ một token lạ hoặc token được phát miễn phí và tìm hiểu kỹ lưỡng trước khi tương tác với token đó. See more on best practices for token safety here.
- If you attempt to transact using the token and your transaction fails, and the block explorer displays an error written by the scammer directing you to a website, this is likely a phishing site, so DO NOT click this link.
- Luôn cập nhật thông tin về những cách thức mà kẻ lừa đảo dùng để cố lấy cắp tiền của bạn. Realise there aren't always adequate safeguards in place for the information you're seeing around the web to be worth trusting.
Adding a token with search
Adding a token with search only works on EVM-networks.
- Tiện ích mở rộng
- Di động
To see your tokens, click on the Tokens tab. Your tokens should be listed under this tab. If they're not, and automatic token detection isn't picking them up, then click on the 3 dots and 'Import tokens'.
Nhấp vào đây sẽ dẫn bạn đến thanh tìm kiếm:
- Hãy nhập các từ có trong token mà bạn muốn tìm kiếm. For example, if you would like to look for DAI:
- Select token of interest, and click Next to proceed.
- Click Import to proceed. You will then be redirected to your account page. Token mà bạn vừa thêm sẽ hiển thị trong danh sách.
- On the 'Tokens' tab of your account page, find the '+' button on the right side of the page, next to the networks selector.
- Thanh tìm kiếm sẽ hiện ra. Nhập tên của token mà bạn muốn thêm.
- When you find the token, tap on it to select it. You can also select any other tokens you'd like to add. Click 'Next' to proceed.
The token will now be listed under your account's tokens.
If the token you search for is not among the most popular tokens, the search bar may not return the token you queried. In this case, you could manually add it with its token address. See steps below.
Adding a token with address
Adding a token with address only works on EVM-networks.
From the main page of Extension or Mobile, under the 'Tokens' tab, click the plus button.
From there, you can search for your token by name, or add a custom token with the token address.
To add a custom token, select the 'Custom token' tab:
From there, click 'Select network', and then choose the network the token is on. Then, copy the token's address into 'Enter token contract address'. If you do not know the token's contract address, read more below. Once you have the token's address, click 'Next', and then 'Import'.
How to find the token address
Take a look at this article to see a couple of different ways to find your token address.
If someone told you they have sent you tokens, but they are unable to provide you:
- the token address, or
- the transaction hash (a unique transaction ID),
it's possible that they haven't in fact done so.
Cách thêm token bằng trình khám phá khối
In addition to Etherscan, this will work with most major block explorers, including BscScan, Polygonscan, Snowtrace, etc., as they generally share a similar design.
- Đi đến trình khám phá khối.
- Tìm kiếm token của bạn. Bạn cũng có thể đến đó bằng liên kết "Token" ở thanh menu.
- Nhấp vào nút "Thêm" ở góc trên bên phải của tổng quan hồ sơ token đó.
- Nhấp vào "Thêm token vào MetaMask (Web3)"
- MetaMask sẽ hiện lên để bạn xác nhận rằng bạn muốn thêm token.
Cách thêm token bằng cách sử dụng trang liệt kê đồng
Sites such as Coingecko or CoinMarketCap offer MetaMask integration that allows you to add a token to MetaMask directly from its entry on their site.
Để truy cập tính năng này, bạn chỉ cần truy cập một trong những trang trên và tìm loại token bạn muốn thêm bằng cách dùng thanh tìm kiếm. Sau đó tìm địa chỉ hợp đồng và nhấp vào hình chú cáo MetaMask. A prompt will appear to confirm that you want to add the token to your account.
On MetaMask Mobile, make sure you access the site using the in-app browser, rather than your device's standard browser. Đây là cách duy nhất để truy cập các liên kết web tích hợp với MetaMask như bạn có thể làm trên trình duyệt máy tính bằng cách sử dụng Tiện ích mở rộng.
Phương pháp này cũng cho phép bạn thêm token ở những mạng khác, tùy thuộc vào việc liệu có hợp đồng thông minh tương ứng được triển khai ở mạng đó bởi những chủ sở hữu token không. Click the three dots next to the contract address to select a different network, and then click the fox to add the token on that network.
Using MetaMask Portfolio
MetaMask Portfolio is a MetaMask-associated platform that aggregates and displays your token balances. Usefully, once you connect your MetaMask it automatically detects and displays the majority of tokens.
All you need to do is follow the link and connect your MetaMask. See our articles on how to use the dapp if you need more guidance.
How to hide tokens
Sau khi thêm, bạn có thể gỡ bỏ token ra khỏi danh sách tài sản của bạn.
- Tiện ích mở rộng
- Di động
On your account page, find the 'Tokens' tab and click on the token you want to remove.
Từ đây, nhấp vào biểu tượng ba chấm ở góc trên cùng bên phải và chọn "Ẩn".
Với cả iOS và Android, hãy nhấn và giữ vào token bạn chọn. This will bring up the option to hide it: