cancelledOfferEvent

Creates an event object for the CancelledOffer event.

Example

import { getContractEvents } from "thirdweb";
import { cancelledOfferEvent } from "thirdweb/extensions/marketplace";
const events = await getContractEvents({
contract,
events: [
cancelledOfferEvent({
offeror: ...,
offerId: ...,
})
],
});

Parameters

Returns

The prepared event object.