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 });
function removeSessionKey(

Parameters

The options for the removeSessionKey function.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The transaction object to be sent.