Retrieves an offer based on the provided options.
import { getOffer } from "thirdweb/extensions/marketplace"; const listing = await getOffer({ contract, listingId: 1n });
function getOffer( options: BaseTransactionOptions<GetOfferParams>,): Promise<Offer>;
The options for retrieving the offer.
let options: BaseTransactionOptions<GetOfferParams>;
let returnType: Promise<Offer>;
A promise that resolves to the offer.