currencyApprovedForListingEvent
Creates an event object for the CurrencyApprovedForListing event.
import { getContractEvents } from "thirdweb";import { currencyApprovedForListingEvent } from "thirdweb/extensions/marketplace"; const events = await getContractEvents({contract,events: [ currencyApprovedForListingEvent({ listingId: ..., currency: ...,})],});
function currencyApprovedForListingEvent( filters: Partial<{ currency: string; listingId: bigint }>, readonly inputs: readonly [ { readonly indexed: true; readonly name: "listingId"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "currency"; readonly type: "address"; }, { readonly name: "pricePerToken"; readonly type: "uint256" }, ]; readonly name: "CurrencyApprovedForListing"; readonly type: "event";}>;
readonly inputs: readonly [ { readonly indexed: true; readonly name: "listingId"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "currency"; readonly type: "address"; }, { readonly name: "pricePerToken"; readonly type: "uint256" }, ]; readonly name: "CurrencyApprovedForListing"; readonly type: "event";}>;
The prepared event object.