Possible to query all NFT addresses in a specific collection?

Is it possible to obtain a list of all NFT addresses from a collection? Am I correct that there is no on-chain relation between NFTs from the same “collection”? I can’t find any tie between them. I was wondering if it would be possible, on-chain, to identify if an NFT address belongs to a specific collection.

Hi @klk, and welcome to the forum!

As far as I know there isn’t a way to tie NFT’s to a collection, but there could absolutely be things I don’t know about.

It would be perfectly possible to have the NFT contain metadata tying it to a specific collection, but it would be up to a developer of an NFT metadata system, maybe similar to the metadata used by Metaplex, and I’m not sure if anybody is already doing that or not.

I settled for just listing each address individually. Not ideal but the only way I see to do it.

1 Like

And if anyone is wondering how I queried the full list of addresses for a collection, I used this tool: GitHub - samuelvanderwaal/metaboss: The Metaplex NFT-standard Swiss Army Knife tool.

1 Like