Tooling
ModuleKit
Reference
Testing
Smart Sessions
Getpermissionid

⚠️ Deprecation Notice

ModuleKit was developed by Rhinestone and is no longer actively supported. If you're building modules and need assistance, reach out to Rhinestone at gm@rhinestone.dev


title: "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.