getUserCollectionListingsCounts()

Retrieve collection listings counts for a User

Get ListingsCounts from a single Collection for a User with optional status filter.

Parameters

export type GetUserCollectionListingsProps = {
    collectionId: string;
    status?: ListingStatus = 'active'; 
    walletUserId?: string;
}

Examples

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

Return Types

type ReturnType = ListingsCounts;
Listing

Alternatives

user()

Last updated