totalAccounts

Calls the "totalAccounts" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.