Calls the "totalSupply" function on the contract.
import { totalSupply } from "thirdweb/extensions/erc20"; const result = await totalSupply({ contract,});
function totalSupply( options: BaseTransactionOptions,): Promise<bigint>;
The options for the totalSupply function.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: Promise<bigint>;
The parsed result of the function call.