removeAdmin

Removes admin permissions for a specified address.

Example

import { removeAdmin } from "thirdweb/extensions/erc4337";
import { sendTransaction } from "thirdweb";
const transaction = removeAdmin({
contract,
account,
adminAddress: "0x...",
});
await sendTransaction({ transaction, account });
function removeAdmin(

Parameters

The options for the removeAdmin function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The transaction object to be sent.