cancelledListingEvent

Creates an event object for the CancelledListing event.

Example

import { getContractEvents } from "thirdweb";
import { cancelledListingEvent } from "thirdweb/extensions/marketplace";
const events = await getContractEvents({
contract,
events: [
cancelledListingEvent({
listingCreator: ...,
listingId: ...,
})
],
});

Parameters

Returns

The prepared event object.