getAllAccounts

Calls the "getAllAccounts" function on the contract.

Example

import { getAllAccounts } from "thirdweb/extensions/erc4337";
const result = await getAllAccounts({
contract,
});
function getAllAccounts(options: BaseTransactionOptions) : Promise<readonly Array<string>>

Parameters

The options for the getAllAccounts function.

Type

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

Returns

let returnType: Promise<readonly Array<string>>

The parsed result of the function call.