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