⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
hashChainSessions
Hash a list of chain sessions.
Usage
const chainSessionHash = hashChainSessions([
{
chainId: 1,
session,
},
])Parameters
chainSessions
- Type:
ChainSession[]
A list of chain sessions.
Returns
hash
- Type:
Promise<Hex>
Returns the hash of the given chain sessions.