getCollectionListings()

Retrieve listings for a Collection

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

Parameters

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

Examples

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

Return Types

type ReturnType = Listing[];

Alternatives

Last updated