<p>I'm not sure if you will query blockfrost each time someone lands on the website or once per day?</p>
<p>In case you start running into quota you could also run your own cardano-graphql instance to query metadata for asset (token) or you can use already hosted solution by gimbalabs <a href="https://gimbalabs.com/dandelion/graphql-api" rel="nofollow noreferrer">https://gimbalabs.com/dandelion/graphql-api</a></p>

CC BY-SA 4.0
2021-10-08T09:31:01.313Z
Thanks for your answer !
I thought about querying blockfrost one per day, and do a static redering of the website.
I am not so familiar with graphql but I thought it would be simpler to just go for an pre build solution ^^
lt512
CC BY-SA 4.0
2021-10-08T09:05:16.900Z
2021-10-08T09:05:16.900Z
pyropy
<p>As hobby, I am trying to build a small website (using cardano db and nextjs) that would work as described :</p>
<ul>
<li>The website displays on its front page a &quot;message&quot; .</li>
<li>The &quot;message&quot; is decided by the owner of pre-defined NFTs (NFT_A and NFT_B)</li>
<li>During odd days, the &quot;message&quot; of NFT_A owner is displayed; (NFT_B
for even days)</li>
<li>&quot;message&quot; should be stored on cardano database and be easily
retrievable from the NFT id</li>
</ul>
<p>To achieve that, I am considering the following :</p>
<ul>
<li>&quot;message&quot; will be store as metadata in TX; (the &quot;message&quot; displayed should be the metada on the latest TX)</li>
<li>The message will be retrived by using a blockfrost.io api call</li>
</ul>
<p>Do you think this is the right approach ? do you have any remark ?</p>
<p>Thank you so much :)</p>

<nft><metadata>
Cardan Hobby Project - Concept question
# Cardan Hobby Project - Concept question

(Asked by: username_0 on 2021-10-08)

As hobby, I am trying to build a small website (using cardano db and nextjs) that would work as described :

* The website displays on its front page a "message" .
* The "message" is decided by the owner of pre-defined NFTs (NFT\_A and NFT\_B)
* During odd days, the "message" of NFT\_A owner is displayed; (NFT\_B
  for even days)
* "message" should be stored on cardano database and be easily
  retrievable from the NFT id

To achieve that, I am considering the following :

* "message" will be store as metadata in TX; (the "message" displayed should be the metada on the latest TX)
* The message will be retrived by using a blockfrost.io api call

Do you think this is the right approach ? do you have any remark ?

Thank you so much :)

**Tags:** nft, metadata

---

## 1 answers

### Answer by username_1 on 2021-10-08. Score: 1

I'm not sure if you will query blockfrost each time someone lands on the website or once per day?

In case you start running into quota you could also run your own cardano-graphql instance to query metadata for asset (token) or you can use already hosted solution by gimbalabs <https://gimbalabs.com/dandelion/graphql-api>

> **Comments:**
> **username_0**: Thanks for your answer ! I thought about querying blockfrost one per day, and do a static redering of the website. I am not so familiar with graphql but I thought it would be simpler to just go for an pre build solution ^^  

---

