newAuctionEvent

Creates an event object for the NewAuction event.

Example

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

Parameters

Returns

The prepared event object.