totalListings

Calls the "totalListings" function on the contract.

Example

import { totalListings } from "thirdweb/extensions/marketplace";
const result = await totalListings({
contract,
});

Parameters

Returns

The parsed result of the function call.