ModuleKit
Testing
Smart Sessions
getPermissionId

getPermissionId

Get the permission id of a session.

Usage

PermissionId permissionId = instance.getPermissionId(session);

Parameters

instance

The instance of the account used for testing.

session

The session to get the permission id from.

Returns

  • Type: PermissionId | bytes32

The permission id of the session.