Tooling
Module SDK
Modules
hashChainSessions

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

hashChainSessions

Hash a list of chain sessions.

Usage

const chainSessionHash = hashChainSessions([
  {
    chainId: 1,
    session,
  },
])

Parameters

chainSessions

A list of chain sessions.

Returns

hash

  • Type: Promise<Hex>

Returns the hash of the given chain sessions.