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...'],
});
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.
Returns
action
- Type:
Promise<Action>
The action to disable ERC1271 policies for a specific session in the smart sessions validator.