Skip to main content

MarketplaceDirect.cancelListing() method

Cancel Direct Listing

Example

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

await contract.direct.cancelListing(listingId);

Signature:

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

Parameters

ParameterTypeDescription
listingIdBigNumberish

Returns:

Promise<TransactionResult>

Remarks

Cancel a direct listing on the marketplace