typescript-sdk

Home > @3rdweb/sdk > MarketplaceModule > cancelAuctionListing

MarketplaceModule.cancelAuctionListing() method

Cancel Auction Listing

Signature:

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

Parameters

Parameter Type Description
listingId BigNumberish  

Returns:

Promise<void>

Remarks

Cancel an auction listing on the marketplace

Example

// The listing ID of the auction listing you want to cancel
const listingId = "0"

await module.cancelAuctionListing(listingId);