Given a token, how do I determine the token's name, symbol, and logo?
SPL-Token's name, symbol, logo, and more can be retrieved today the following way:
- Get associated Metaplex Metadata Account to check for Metadata
- If no metadata exists, check legacy token-list from
This means that first priority should be Metaplex Metadata, then
Solflare's Unified Token List does this automatically if you want to use their source code.