cancelledListingEvent
Creates an event object for the CancelledListing event.
import { getContractEvents } from "thirdweb";import { cancelledListingEvent } from "thirdweb/extensions/marketplace"; const events = await getContractEvents({contract,events: [ cancelledListingEvent({ listingCreator: ..., listingId: ...,})],});
function cancelledListingEvent( filters: Partial<{ listingCreator: string; listingId: bigint }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "listingCreator"; readonly type: "address"; }, { readonly indexed: true; readonly name: "listingId"; readonly type: "uint256"; }, ]; readonly name: "CancelledListing"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "listingCreator"; readonly type: "address"; }, { readonly indexed: true; readonly name: "listingId"; readonly type: "uint256"; }, ]; readonly name: "CancelledListing"; readonly type: "event";}>;
The prepared event object.