getTotalUnclaimedSupply

Retrieves the total unclaimed supply of ERC721 tokens.

Example

import { getTotalUnclaimedSupply } from "thirdweb/extensions/erc721";
const totalUnclaimedSupply = await getTotalUnclaimedSupply({
contract,
});
function getTotalUnclaimedSupply(
): Promise<bigint>;

Parameters

The base transaction options.

Type

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

Returns

let returnType: Promise<bigint>;

A promise that resolves to the total unclaimed supply as a bigint.