totalListings

Calls the "totalListings" function on the contract.

Example

import { totalListings } from "thirdweb/extensions/marketplace";
const result = await totalListings({
contract,
});
function totalListings(
): Promise<bigint>;

Parameters

The options for the totalListings function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.