Docs

removeSessionKey

Removes session key permissions for a specified address.

Example

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

Parameters

Returns

The transaction object to be sent.