getTotalClaimedSupply

Retrieves the total claimed supply of ERC721 tokens.

Example

import { getTotalClaimedSupply } from "thirdweb/extensions/erc721";
const totalClaimedSupply = await getTotalClaimedSupply({
contract,
});
function getTotalClaimedSupply(
): 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 claimed supply as a bigint.