getAccountsOfSigner

Calls the "getAccountsOfSigner" function on the contract.

Example

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

Parameters

The options for the getAccountsOfSigner function.

Type

Returns

let returnType: Promise<readonly Array<string>>

The parsed result of the function call.