getCollection()

Returns collection info for specified collection

Parameters

export type GetCollectionProps = {
    collectionId: string;
}

Examples

const collection = await assetlayer.collections.getCollection({
    collectionId: 'collectionId'
});

Return Types

type ReturnType = Collection;
Collection

Alternatives

info()

Last updated