updatedListingEvent

Creates an event object for the UpdatedListing event.

Example

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

Parameters

Returns

The prepared event object.