typescript-sdk

Home > @3rdweb/sdk > IMarketplace > cancelDirectListing

IMarketplace.cancelDirectListing() method

Cancels a direct listing by updating the quantity to be sold to 0.

Signature:

cancelDirectListing(listingId: BigNumberish): Promise<void>;

Parameters

Parameter Type Description
listingId BigNumberish Id of the listing to remove.

Returns:

Promise<void>