get https://solana-gateway.moralis.io/nft///metadata
Get the global NFT metadata for a given network and contract (mint, standard, name, symbol, metaplex).
Log in to see full request history
Responses
Get the global NFT metadata for a given network and contract (mint, standard, name, symbol, metaplex).
xxxxxxxxxx
24import Moralis from 'moralis';
import { SolNetwork, SolAddress } from "@moralisweb3/sol-utils";
​
try {
await Moralis.start({
apiKey: 'YOUR_API_KEY',
});
​
const address = SolAddress.create(
"FVW9KoJxXzP2cCfhLfFC7hQKBZKnaoPkyZJQgvM9moWV"
);
​
const network = SolNetwork.MAINNET;
​
const response = await Moralis.SolApi.nft.getNFTMetadata({
address,
network,
});
​
console.log(response?.result);
} catch (e) {
console.error(e);
}
​
Try It!
to start a request and see the response here! Or choose an example: