Get collection data

Getting your collection data is usually a good first step to display and use the correct information in different marketplace operations.

To get a registered collection you only need to provide its contract address:

const collection = await marketplaceSdk.collection.getCollection(
  MY_COLLECTION_ADDRESS
)
const attributes = collection.attributes
const collectionFees = collection.collectionFees

Collection attributes are useful to display asset search filters while collection fees will be needed to create appropriate orders.

All our API routes are also available without the SDK. See the get collection route.

Last updated