5

Let's take USDT token

https://solscan.io/token/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB

I've fetched some of my transaction via Solana API method gettransactions. In those where USDT is transfered, the mint field will also be equal to Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB which is the address of the token.

Can mint address and token address be identical? In what cases? And in what cases not?

2 Answers 2

8

enter image description here

"mint address" and "token address" are often used interchangeably and refer to the same thing (the blue item). A unique identifier of an SPL-Token is its mint address.

USDC is minted in mainnet at a single mint address.

"token mint address" is the preferred term used in documentation, as there are also "associated token accounts" (your personal store of that token, the brown item) which have an address, so "token address" can be considered vague.

I have an associated token account in my wallet for USDC that has a few hundred USDC in it.

2
  • They are the same? No difference at all? Or they can be the same and often times, but not always, are?
    – Camila326
    Commented Jan 15, 2023 at 17:12
  • When you see "token address" its referring to the "mint address" of an SPL-Token. A "token account" is something different and has its own address. Metaplex docs have great explanations/diagrams: docs.metaplex.com/programs/understanding-programs
    – john
    Commented Jan 15, 2023 at 17:33
1

"mint address" is a shorthand for "mint account address". So, you are thinking in terms of accounts here (implementation level).

For "token address", try to think literally (concept level): "What is the unique identifier of a SPL-token?" Well, the obvious choice is taking the address of the account that defines it (the mint account).

So, both terms refer to the same thing, but are used in different contextes (implementation v concept level)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.