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