buyerApprovedForListingEvent

Creates an event object for the BuyerApprovedForListing event.

Example

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

Parameters

Returns

The prepared event object.