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<{ offerId: bigint; offeror: string }>,): PreparedEvent<{ 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";}>;
Optional filters to apply to the event.
let filters: Partial<{ offerId: bigint; offeror: string }>;
let returnType: PreparedEvent<{ 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.