Docs

currencyApprovedForListingEvent

Creates an event object for the CurrencyApprovedForListing event.

Example

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

Parameters

Returns

The prepared event object.