totalSupply

Calls the "totalSupply" function on the contract.

Example

import { totalSupply } from "thirdweb/extensions/erc721";
const result = await totalSupply({
contract,
});

Parameters

Returns

The parsed result of the function call.