Hook for canceling a direct listing on a MarketplaceV3 contract.
Direct listings can be canceled at any time, (unless the listing has already been sold). Only the creator of the listing can cancel it.
Note: This hook is only for Marketplace V3 contracts.
Marketplace contracts, use
Mutation object to cancel a direct listing by passing the ID of the listing you want to cancel.
The mutation function takes the
listingId as an argument.
error property is set if the listing is not active, or was not created by the wallet
The ID of the listing you want to cancel.