Using this code:
import { Connection, PublicKey } from '@solana/web3.js';
// strong text@metaplex-foundation/mpl-token-metadata": "^2.13.0"
import { Metaplex } from '@metaplex-foundation/js';
const RPC_URL:string = "https://broken-summer-shape.solana-mainnet.quiknode.pro/**[YOUR_KEY]**/";
const MINT_ADDR:string = "4sp2EUDrQf46rZun6sYAWzjrXwUpx2T3njuoKmV766RJ"; //HAMI
(async()=>{
let connection:Connection = new Connection(RPC_URL);
const metaplex = new Metaplex(connection);
try{
const nftMetadata = await metaplex.nfts().findByMint({ mintAddress: new PublicKey(MINT_ADDR) });
console.log(JSON.stringify(nftMetadata));
}catch(e){
console.log((e as Error).message);
}
})();
I can get metadata (o empty data) for tokens account, for example:
const MINT_ADDR:string = "5DPKMXmf9WK1C6N1MoJLWjYApiP4KR8zNf1oofevGEub"; // SPL TOKEN
const MINT_ADDR:String = "C1w2uRGBAA8FPoovchBVAb1uuVEqs6g77TCHe2bbJG8G"; // Ceramonio
But I can NOT get answer for this token even when it has metadata:
const MINT_ADDR:String = "C1w5UgaszaJxAstFtaPSXej6nwk8EcSQdc5dkxm6ruVr"; // Javia Brown-Turner
Any idea?