Is there any way to find mints of all nfts which are verified to be a part of a given collection?

I know I can find all by mint list, owner, or creator. The creator here has other nfts so I could get all from the creator then filter, but it's kinda slow. Any way to directly fetch by collection?

Someone asked this back on the solana forums but there's not much of an answer there. https://forums.solana.com/t/possible-to-query-all-nft-addresses-in-a-specific-collection/3097/8


1 Answer 1


You cannot easily do a getProgramAccounts() like one can do for creators. You can still search for all NFTs in a collection when parsing all collection transactions.

It is possible with metaboss where an indexer is used or by parsing the transactions like in this metaplex rust and typescript examples.

  • 1
    @mikemaccana getProgramAccounts
    – Luke Miles
    Sep 4, 2022 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.