getOffer

Retrieves an offer based on the provided options.

Example

import { getOffer } from "thirdweb/extensions/marketplace";
const listing = await getOffer({ contract, listingId: 1n });

Parameters

Returns

A promise that resolves to the offer.