ModuleSDK
Modules
getDisableUserOpPoliciesAction

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

The permission ID of the session to disable userOp policies for.

userOpPolicies

A list of userOp policies addresses.

Returns

action

The action to disable userOp policies for a specific session in the smart sessions validator.