Tooling
Module SDK
Modules
getDisableUserOpPoliciesAction

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

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.