I was wondering how to link additional (meta)data to a token. Consider a trading card game which allows a user to purchase a booster pack containing cards via smart contract. Those cards should have a TokenName and are linked to the smart contract. But how would I link additional data like datetime of mint, card stats, edition, rarity, .. ?
4Do these answers help you? Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano? and Providing metadata to cardano-cli transaction build-raw– Ben NOBLEMay 26, 2021 at 20:21
Thank you, that clears things up quite a bit :)– monolithMay 26, 2021 at 23:40
The metadata of a native token must be included in the minting transaction.
The token itself only has a Policy Id, an Asset Name and a Fingerprint.
Here's an example of a token, there you can see under the tab "mint transactions" the Tx and the metadata of the NFT: https://cardanoscan.io/token/59fdb627c01bd87326bef5f4df179bcccb2a2f43