I'm trying to fetch metadata for newly minted tokens (SPL, not NFTs) and unable to get a lot of data apart from decimals, mint_authority etc, I'd like to get the Name, Picture of the token along with other general information.

What is my best source to get this data?

(Preferably in Python BUT if JS gets the job done, we can move over)

Thank you

1 Answer 1


i assume you have the mint address if you can already get the decimal. To get what you need (name, image...) you have to fetch metadata with metaplex.

import { Metaplex } from '@metaplex-foundation/js'

and then :

const metaplex = new Metaplex(connection) 
const nftMetadata = await metaplex.nfts()
    .findByMint({ mintAddress: new PublicKey(....) })
  • Yes, I do have the mint address. Thank you for sharing, I'm going to try it! Commented Jan 17 at 8:00
  • if this replies to your question properly, please accept the answer :)
    – Effe2
    Commented Jan 17 at 8:43

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.