Removes admin permissions for a specified address.
import { removeAdmin } from "thirdweb/extensions/erc4337";import { sendTransaction } from "thirdweb"; const transaction = removeAdmin({ contract, account, adminAddress: "0x...",}); await sendTransaction({ transaction, account });
function removeAdmin( options: BaseTransactionOptions<RemoveAdminOptions>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the removeAdmin function.
let options: BaseTransactionOptions<RemoveAdminOptions>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The transaction object to be sent.