Tooling
Module SDK
Modules
getRemoveSessionAction

⚠️ 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)

getRemoveSessionAction

Get the action to remove a session from the smart sessions validator.

Usage

const action = await getRemoveSessionAction({
  permissionId: '0x1234...',
})

Parameters

permissionId

The permission ID of the session to remove.

Returns

action

The action to remove a session from the smart sessions validator.