listCollectionAssets()

List a collection of Assets in the market

Create new Listings for a provided a collectionId. Price and (currency or currencyId) are required.

Parameters

export type ListCollectionAssetsProps = {
    collectionId: string;
    price: number;
    liveTime?: number;
    status?: ListingUpdateStatus;
    walletUserId?: string;
    currencyId?: string;
    currency?: string;
}

Examples

const balance = await assetlayer.listings.listCollectionAssets({
    collectionId: 'collectionId',
    currencyId: 'currencyId',
    price: 100
});

Return Types

type ReturnType = CreateListingsResponse;

Alternatives

Last updated