The mint address of the NFT.
The Solana network endpoint to connect to.
const run = async () => {
try {
const nftData = await getNftAttributes(
'EggwWJZsCjSY7f36zHHevBmuSyTDHzGxVC2PGX5ePsTh',
'https://api.mainnet-beta.solana.com'
);
console.log(nftData);
} catch (error) {
console.error('Error:', error);
}
}
run();
Generated using TypeDoc
Retrieves the attributes of an NFT by its mint address.