Checks if the buyer is approved for a listing.
import { isBuyerApprovedForListing } from "thirdweb/extensions/marketplace"; const isApproved = await isBuyerApprovedForListing({ contract, listingId: 1n, buyer: "0x...",});
function isBuyerApprovedForListing( options: BaseTransactionOptions<IsBuyerApprovedForListingParams>,): Promise<boolean>;
The options for checking buyer approval.
let options: BaseTransactionOptions<IsBuyerApprovedForListingParams>;
let returnType: Promise<boolean>;
A promise that resolves to a boolean indicating whether the buyer is approved for the listing.