auctionClosedEvent
Creates an event object for the AuctionClosed event.
import { getContractEvents } from "thirdweb";import { auctionClosedEvent } from "thirdweb/extensions/marketplace"; const events = await getContractEvents({contract,events: [ auctionClosedEvent({ auctionId: ..., assetContract: ..., closer: ...,})],});
function auctionClosedEvent(  filters: Partial<{    assetContract: string;    auctionId: bigint;    closer: string;  }>,  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "auctionId";      readonly type: "uint256";    },    {      readonly indexed: true;      readonly name: "assetContract";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "closer";      readonly type: "address";    },    { readonly name: "tokenId"; readonly type: "uint256" },    { readonly name: "auctionCreator"; readonly type: "address" },    { readonly name: "winningBidder"; readonly type: "address" },  ];  readonly name: "AuctionClosed";  readonly type: "event";}>;
  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "auctionId";      readonly type: "uint256";    },    {      readonly indexed: true;      readonly name: "assetContract";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "closer";      readonly type: "address";    },    { readonly name: "tokenId"; readonly type: "uint256" },    { readonly name: "auctionCreator"; readonly type: "address" },    { readonly name: "winningBidder"; readonly type: "address" },  ];  readonly name: "AuctionClosed";  readonly type: "event";}>;
The prepared event object.