Skip to main content

Function: sessionId()

sessionId(input): string
Defined in: packages/core/src/session.ts:10 Deterministic session id over (account, sessionKey, expiresAt). Uses the stellar-sdk’s isomorphic hash (sha256) so it is identical in the browser, React Native, and Node. Pure: no clock.

Parameters

input

account

string

expiresAt

number

sessionKey

string

Returns

string