isCurrencyApprovedForListing

Calls the "isCurrencyApprovedForListing" function on the contract.

Example

import { isCurrencyApprovedForListing } from "thirdweb/extensions/marketplace";
const result = await isCurrencyApprovedForListing({
contract,
listingId: ...,
currency: ...,
});
function isCurrencyApprovedForListing(
): Promise<boolean>;

Parameters

The options for the isCurrencyApprovedForListing function.

Type

Returns

let returnType: Promise<boolean>;

The parsed result of the function call.