<p>The metadata of a native token must be included in the minting transaction.</p>
<p>The token itself only has a Policy Id, an Asset Name and a Fingerprint.</p>
<p>Here's an example of a token, there you can see under the tab &quot;mint transactions&quot; the Tx and the metadata of the NFT: <a href="https://cardanoscan.io/token/59fdb627c01bd87326bef5f4df179bcccb2a2f43" rel="nofollow noreferrer">https://cardanoscan.io/token/59fdb627c01bd87326bef5f4df179bcccb2a2f43</a></p>

CC BY-SA 4.0
2021-05-28T01:57:17.883Z
2021-05-28T01:57:17.883Z
Farid
<p>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, .. ?</p>

CC BY-SA 4.0
2021-05-26T20:21:18.930Z
Do these answers help you? [Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano?](https://cardano.stackexchange.com/questions/351/is-there-a-metadata-standard-for-native-assets-talking-about-fungible-tokens-fi) and [Providing metadata to cardano-cli transaction build-raw](https://cardano.stackexchange.com/questions/359/providing-metadata-to-cardano-cli-transaction-build-raw)
Ben NOBLE
CC BY-SA 4.0
2021-05-26T23:40:27.210Z
Thank you, that clears things up quite a bit :)
monolith
<plutus><metadata>
How can token metadata be stored onchain?
# How can token metadata be stored onchain?

(Asked by: username_0 on 2021-05-26)

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, .. ?

**Tags:** plutus, metadata
> **Comments:**
> **username_1**: Do these answers help you? [Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano?](https://cardano.stackexchange.com/questions/351/is-there-a-metadata-standard-for-native-assets-talking-about-fungible-tokens-fi) and [Providing metadata to cardano-cli transaction build-raw](https://cardano.stackexchange.com/questions/359/providing-metadata-to-cardano-cli-transaction-build-raw)  
> **username_0**: Thank you, that clears things up quite a bit :)  

---

## 1 answers

### Answer by username_2 on 2021-05-28. Score: 2

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>


---

