metaplex-foundation / metaplex-program-library

Smart contracts maintained by the Metaplex team
Other
588 stars 513 forks source link

Recommended way to fetch all metadatas for a creator? #421

Closed ilmoi closed 1 year ago

ilmoi commented 2 years ago

I noticed that the Metadata.findMany() method has been removed from the latest version of the lib. I assume that's due to gPA call being removed from most validators.

What's the currently recommended way to fetch all metadata accounts for a collection by a creator?

austbot commented 2 years ago

There is not a great way to do this now, but as we built out apis and indexers you will be able to do this. Here is something to get you started, https://www.notion.so/metaplex/Get-Collection-Methods-1ff0b118e4ce4605971df60e753a8559

austbot commented 1 year ago

Read api is solving this/