Docs

removeAdmin

Removes admin permissions for a specified address.

Example

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

Parameters

Returns

The transaction object to be sent.