Creates an event object for the CancelledAuction event.
import { getContractEvents } from "thirdweb";import { cancelledAuctionEvent } from "thirdweb/extensions/marketplace"; const events = await getContractEvents({contract,events: [ cancelledAuctionEvent({ auctionCreator: ..., auctionId: ...,})],});
function cancelledAuctionEvent( filters: Partial<{ auctionCreator: string; auctionId: bigint }>,): PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "auctionCreator"; readonly type: "address"; }, { readonly indexed: true; readonly name: "auctionId"; readonly type: "uint256"; }, ]; readonly name: "CancelledAuction"; readonly type: "event";}>;
Optional filters to apply to the event.
let filters: Partial<{ auctionCreator: string; auctionId: bigint }>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "auctionCreator"; readonly type: "address"; }, { readonly indexed: true; readonly name: "auctionId"; readonly type: "uint256"; }, ]; readonly name: "CancelledAuction"; readonly type: "event";}>;
The prepared event object.