Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
My question is similar to this one Link.
I don't see any satisfactory answer on that question?.
Is there a method to fetch all the nfts minted by a particular smart contract?
You can have the NFTs (mints) as a PDA. then use getProgramAccounts to get the PDAs that have a data size of 82 bytes (mint size)
This will return all mint PDAs derived from your program.
Required, but never shown