getCollectionsListings()

Retrieve listings for multiple Collections

Get Listings for multiple collections. Optional filters: status, lastUpdatedAt.

Parameters

export type GetCollectionsListingsProps = {
    collectionIds: string[];
    status?: ListingStatus;
    lastUpdatedAt?: number;
}

Examples

const listings = await assetlayer.listings.getCollectionsListings({
    collectionIds: ['collectionId_1', 'collectionId_2'],
    status: 'active'
});

Return Types

type ReturnType = Listing[];
Listing

Alternatives

collection()

Last updated