Retrieves the currency price for a listing.
import { currencyPriceForListing } from "thirdweb/extensions/marketplace"; const price = await currencyPriceForListing({ contract, listingId: 1n, currency: "0x...",});
function currencyPriceForListing( options: BaseTransactionOptions<CurrencyPriceForListingParams>,): Promise<bigint>;
The options for retrieving the currency price.
let options: BaseTransactionOptions<CurrencyPriceForListingParams>;
let returnType: Promise<bigint>;
A promise that resolves to the currency price as a bigint.