Skip to main content

MarketplaceAuction.cancelListing() method

Cancel Auction Listing

Example

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

await contract.auction.cancelListing(listingId);

Signature:

cancelListing(listingId: BigNumberish): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
listingIdBigNumberish

Returns:

Promise<TransactionResult>

Remarks

Cancel an auction listing on the marketplace