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
Parameter | Type | Description |
---|---|---|
listingId | BigNumberish |
Returns:
Promise<TransactionResult>
Remarks
Cancel a direct listing on the marketplace