getCollectionListingsCounts()

Retrieve listings counts for a Collection

Get ListingsCounts for a single collection. Optional filters: status, lastUpdatedAt.

Parameters

export type GetCollectionListingsProps = {
    collectionId: string;
    status?: ListingStatus;
    lastUpdatedAt?: number;
}

Examples

const listingsCounts = await assetlayer.listings.getCollectionListingsCounts({
    collectionId: 'collectionId',
    status: 'active'
});

Return Types

type ReturnType = ListingsCounts;
Listing

Alternatives

collection()

Last updated