⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
getDisableERC1271PoliciesAction
Get the action to disable ERC1271 policies for a specific session in the smart sessions validator.
Usage
const action = await getDisableERC1271PoliciesAction({
permissionId: '0x1234...',
policies: ['0xabcd...'],
contents: [
{
appDomainSeparator: '0x1234...',
contentName: ['abc'],
},
],
})Parameters
permissionId
- Type:
Hex(opens in a new tab)
The permission ID of the session to disable userOp policies.
policies
A list of ERC1271 policies addresses.
contents
- Type:
ERC7739Context[]
The list of ERC-7739 contexts used by the policies.
Returns
action
- Type:
Promise<Action>
The action to disable ERC1271 policies for a specific session in the smart sessions validator.