getAuction

Retrieves an auction listing based on the provided options.

Example

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

Parameters

Returns

A promise that resolves to the direct listing.