removeSessionKey

Removes session key permissions for a specified address.

Example

import { removeSessionKey } from "thirdweb/extensions/erc4337";
import { sendTransaction } from "thirdweb";
const transaction = removeSessionKey({
contract,
account,
sessionKeyAddress,
});
await sendTransaction({ transaction, account });

Parameters

Returns

The transaction object to be sent.