acceptedOfferEvent

Creates an event object for the AcceptedOffer event.

Example

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

Parameters

Returns

The prepared event object.