Panda Academy | Web3与区块链教育中心
  • Solana
  • Sui Network
  • TON Network
  • Ethereum
  • BNB Chain
  • TRON
  • Q&A Community
    • Ask a Question
  • English English
    • 中文 (中国) 中文 (中国)
    • 中文 (香港) 中文 (香港)
Sign in Sign up
投稿

How to Add Token Logo in MetaMask?

pandatool • 2026年11月10日 pm11:22 • 知识库

If a token is already indexed by major platforms (e.g. CoinGecko, CoinMarketCap, Etherscan), you can use their “Add to MetaMask” buttons to import both the token and its official logo…

If a token is already indexed by major platforms (e.g. CoinGecko, CoinMarketCap, Etherscan), you can use their “Add to MetaMask” buttons to import both the token and its official logo. If the token isn’t yet indexed—or you want full control over the appearance—integrate MetaMask’s wallet_watchAsset API in your own website or DApp to prompt users to add the token with your custom logo.

I. Quick Manual Methods for Users

1. Via CoinGecko

  1. Open the token’s page on CoinGecko.

  2. Click the “Add to MetaMask” (fox icon) button.

  3. Confirm in the MetaMask popup to import the token and its logo.

Tip: Supported on both desktop and mobile; on mobile, open CoinGecko in MetaMask’s built‑in browser.

2. Via CoinMarketCap

  1. Visit the token’s detail page on CoinMarketCap.

  2. Click the fox icon next to the token name.

  3. Confirm in the wallet popup to add the token and logo.

3. Via Block Explorers (Etherscan, BscScan, Polygonscan, etc.)

  1. Navigate to the token’s contract page on the relevant explorer.

  2. From the “More” menu, select “Add token to MetaMask.”

  3. Confirm in the MetaMask dialog to import the logo along with the token.

Note: If the explorer itself doesn’t yet display a logo, you must first submit the logo (via PR or support request) to that explorer.

II. Automatic Integration for Developers (EIP‑747)

Token issuers or DApp developers can leverage MetaMask’s wallet_watchAsset RPC to trigger an “Add Asset” popup with your custom logo.

1. API Overview

  • Method: wallet_watchAsset

  • Standard: EIP‑747 (Ethereum Improvement Proposal)

  • Purpose: Prompts MetaMask to add a specified token (with logo) to the user’s asset list.

2. Example Code

const tokenAddress = “0xYourTokenContractAddress”;
const tokenSymbol = “SYM”; // ≤5 characters
const tokenDecimals= 18; // decimals
const tokenImage = “https://yourdomain/logo.png”; // must use HTTPS

try {
const wasAdded = await window.ethereum.request({
method: “wallet_watchAsset”,
params: {
type: “ERC20”, // or other supported types
options: {
address: tokenAddress,
symbol: tokenSymbol,
decimals: tokenDecimals,
image: tokenImage,
},
},
});
if (wasAdded) {
console.log(“Token successfully added to MetaMask!”);
} else {
console.log(“User rejected the request.”);
}
} catch (error) {
console.error(“Failed to add token:”, error);
}

This also works for experimental NFT support and other EVM‑based tokens.

III. Important Notes

  • HTTPS Logo: The image URL must use HTTPS.

  • Network Matching: Ensure the user’s network matches the token’s chain ID.

  • Centralized Indexing: MetaMask’s built‑in search relies on its own database; unlisted tokens still require manual or API methods.

  • Security Reminder: Only add tokens from trusted sources to avoid phishing or fake logos.

By following the user manual and developer integration approaches above, you can ensure your token—and its logo—appear correctly in MetaMask.

© Original content by PandaAcademy
Unauthorized reproduction prohibited. Credit required when sharing.
PandaAcademy, a Web3 educational brand by PandaTool, positions as an open skills academy for the Web3 era.

本文由PandaAcademy原创,如若转载,请注明出处:https://academy.pandatool.org/en_US/kn/974。PandaAcademy是PandaTool旗下的Web3学习中心,专注于向普通用户提供区块链和加密货币知识输出

LogoMetamask
Like (0)
pandatool's avatarpandatool
0 0
Generate poster
What is LetsBonk?How to launch tokens?
Previous 2026年11月10日
How to display tokens in Tonkeeper wallet?
Next 2026年11月10日

相关推荐

  • Is Token Creation Legal? A Jurisdiction-Specific Guide for the US, EU, and UK 知识库

    Is Token Creation Legal? A Jurisdiction-Specific Guide for the US, EU, and UK

    1. United States Securities Law Compliance (Howey Test): Security Tokens: Must register with the SEC or qualify for exemptions (Regulation D for accredited investors, Regulation A+ for public offerings up to $75M)…

    pandatool's avatar pandatool
    2026年11月10日
  • Flash USDT Scam: Technical Forgery & Legal Risks 知识库

    Flash USDT Scam: Technical Forgery & Legal Risks

    In the cryptocurrency market, USDT (Tether), as the largest stablecoin by market capitalization, serves as a core tool for users in trading, payments, and risk hedging. However, in recent years…

    pandatool's avatar pandatool
    2026年11月10日
  • From Web2 to Web3: 3 Laws for Blockchain Adoption 知识库

    From Web2 to Web3: 3 Laws for Blockchain Adoption

    At the gateway to Web3, choosing a public blockchain resembles “geographic positioning” in the digital world—it directly determines an enterprise’s user reach efficiency and compliance-security boundaries…

    pandatool's avatar pandatool
    2026年11月10日
  • PandaTool Demystifying Liquidity Pools: A Beginner’s Guide 知识库

    PandaTool Demystifying Liquidity Pools: A Beginner’s Guide

    For newcomers to crypto, the concept of a “liquidity pool” (often called a “pool”) can be confusing yet indispensable. Liquidity pools underpin token pricing, trading, and capital flows. Without understanding them…

    pandatool's avatar pandatool
    2026年11月10日
  • LP Lock + Trade Tax: Dual Defense Against Pool Exploitation 知识库

    LP Lock + Trade Tax: Dual Defense Against Pool Exploitation

    As a token creater, when you finally inject your carefully designed token into the liquidity pool and watch the trading pair become active, excitement arises—but does a hidden worry creep into your mind: What if the pool…

    pandatool's avatar pandatool
    2026年11月10日
  • What is price slippage? How does it work? 知识库

    What is price slippage? How does it work?

    When swapping tokens on a decentralized exchange (DEX), users often encounter discrepancies between the expected price and the actual execution price. This price deviation is known as slippage…

    pandatool's avatar pandatool
    2026年11月10日
  • What is a liquidity pool? How does it work? 知识库

    What is a liquidity pool? How does it work?

    Friend who’s just stepped into the world of DeFi! Have you often swapped tokens on Decentralized Exchanges (DEXs) like Uniswap or PancakeSwap, but always had a nagging question: “Weird…

    pandatool's avatar pandatool
    2026年11月10日
  • How to Submit Your Token Profile to imToken: Requirements & Best Practices 知识库

    How to Submit Your Token Profile to imToken: Requirements & Best Practices

    Many people found that they could not display the token logo or price in the imToken wallet after creating tokens through the PandaTool one-click token issuance tool. What’s going on?

    pandatool's avatar pandatool
    2026年11月10日
  • From Anti-Rug to Trending:Meme Coin Marketing Strategies in China 知识库

    From Anti-Rug to Trending:Meme Coin Marketing Strategies in China

    Dear PandaTool creator,

    pandatool's avatar pandatool
    2026年11月10日
  • Must-Read for Liquidity Providers: How Are LP Tokens Calculated? 知识库

    Must-Read for Liquidity Providers: How Are LP Tokens Calculated?

    The calculation of the number of LP tokens a user receives after adding liquidity is not singular; it depends on the specific protocol and the condition of the pool at the time of deposit.

    pandatool's avatar pandatool
    2026年11月10日
Panda Academy | Web3与区块链教育中心
  • Solana
  • Sui Network
  • TON Network
  • Ethereum
  • BNB Chain
  • TRON
  • Q&A Community
  • English English

Copyright © 2026 PandaAcamey Powered by PandaTool