TypeScript SDK
MARKETPLACE.cancelledOfferEvent
Creates an event object for the CancelledOffer event.
import { getContractEvents } from "thirdweb";import { cancelledOfferEvent } from "thirdweb/extensions/marketplace"; const events = await getContractEvents({contract,events: [ cancelledOfferEvent({ offeror: ..., offerId: ...,})],});function cancelledOfferEvent( filters: Partial, readonly inputs: readonly [ { readonly indexed: true; readonly name: "offeror"; readonly type: "address"; }, { readonly indexed: true; readonly name: "offerId"; readonly type: "uint256"; }, ]; readonly name: "CancelledOffer"; readonly type: "event";}>; readonly inputs: readonly [ { readonly indexed: true; readonly name: "offeror"; readonly type: "address"; }, { readonly indexed: true; readonly name: "offerId"; readonly type: "uint256"; }, ]; readonly name: "CancelledOffer"; readonly type: "event";}>;The prepared event object.