getCollections()

Returns collection info for specified collections

Parameters

type GetCollectionsProps = {
    collectionIds: string[];
}

Examples

const collections = await assetlayer.collections.getCollections({
    collectionIds: ['collectionId_1', 'collectionId_2']
});

Return Types

type ReturnType = Collection[];
Collection

Alternatives

info()

Last updated