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