totalOffers

Calls the "totalOffers" function on the contract.

Example

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

Parameters

The options for the totalOffers function.

Type

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

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.