getCollectionAssetIds()

Returns assetsIds from specified collection

Parameters

type GetCollectionAssetsProps = {
    collectionId: string;
    serials?: string; // if specified, response only includes assets with serial numbers in specified range (e.g. 1-10, 15, 20-25)
}

Examples

const assetIds = await assetlayer.collections.getCollectionAssetIds({
    collectionId: 'collectionId',
    serials: '0-5'
});

Return Types

type ReturnType = string[];

Alternatives

assets()

Last updated