Retrieves the active session key currently set in persistent storage.Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-amir-tx-status-webhooks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- This function fetches the session key that is currently marked as active in the client’s persistent storage.
- The active session key determines which session is used for all session-dependent operations.
- If no active session key is set, returns
undefined. - Useful for determining which session is currently in use, especially when managing multiple sessions.
Package: core
Defined in: clients/core.ts:4946
No parameters.
A successful response returns the following fields:A promise that resolves to the active session key as a string, or
undefined if no active session is set.