getCollectionAssets()

Returns assets and asset details from specified collection

Parameters

export 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 assets = await assetlayer.collections.getCollectionAssets({
    collectionId: 'collectionId',
    serials: '0-5'
});

Return Types

type ReturnType = Asset[]
Asset

Alternatives

assets()

Last updated