updateListing()

Update a market Listing

Update a Listing with the provided details.

Parameters

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

Examples

const success = await assetlayer.listings.updateListing({
    listingId: 'listingId',
    price: 10
});

Return Types

type ReturnType = boolean;

Last updated