Docs

auctionClosedEvent

Creates an event object for the AuctionClosed event.

Example

import { getContractEvents } from "thirdweb";
import { auctionClosedEvent } from "thirdweb/extensions/marketplace";
const events = await getContractEvents({
contract,
events: [
auctionClosedEvent({
auctionId: ...,
assetContract: ...,
closer: ...,
})
],
});

Parameters

Returns

The prepared event object.