Docs

newBidEvent

Creates an event object for the NewBid event.

Example

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

Parameters

Returns

The prepared event object.