user2102: 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 :)

user1045: 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

2102: <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>
 1045: <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>
