isAccountDeployed

Adds admin permissions for a specified address.

Example

import { isAccountDeployed } from "thirdweb/extensions/erc4337";
const transaction = addAdmin({
contract,
account,
adminAddress: "0x...",
});
await isAccountDeployed({ contract, adminSigner });
function isAccountDeployed(
options: BaseTransactionOptions<GetAddressParams>,
): Promise<boolean>;

Parameters

The options for the addAdmin function.

Type

let options: BaseTransactionOptions<GetAddressParams>;

Returns

let returnType: Promise<boolean>;

The transaction object to be sent.