totalAuctions

Calls the "totalAuctions" function on the contract.

Example

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

Parameters

The options for the totalAuctions function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.