getDisableUserOpPoliciesAction
Get the action to disable userOp policies for a specific session in the smart sessions validator.
Usage
const action = await getDisableUserOpPoliciesAction({
permissionId: '0x1234...',
userOpPolicies: ['0xabcd...'],
})
Parameters
permissionId
- Type:
Hex
(opens in a new tab)
The permission ID of the session to disable userOp policies for.
userOpPolicies
A list of userOp policies addresses.
Returns
action
- Type:
Promise<Action>
The action to disable userOp policies for a specific session in the smart sessions validator.