totalAccounts

Calls the "totalAccounts" function on the contract.

Example

import { totalAccounts } from "thirdweb/extensions/erc4337";
const result = await totalAccounts({
contract,
});
function totalAccounts(
): Promise<bigint>;

Parameters

The options for the totalAccounts function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<bigint>;

The parsed result of the function call.