Home > @3rdweb/sdk > MarketplaceModule > cancelDirectListing
Cancel Direct Listing
Signature:
cancelDirectListing(listingId: BigNumberish): Promise<void>;
Parameter | Type | Description |
---|---|---|
listingId | BigNumberish |
Returns:
Promise<void>
Cancel a direct listing on the marketplace
// The listing ID of the direct listing you want to cancel
const listingId = "0"
await module.cancelDirectListing(listingId);