Package: react-wallet-kit

Overview

Sets the active session to the specified session key.
  • This function updates the activeSessionKey in persistent storage to the specified session key.
  • Ensures that subsequent operations use the session associated with this key as the active session.
  • Does not validate whether the session key exists or is valid; it simply updates the pointer.
  • Useful for switching between multiple stored sessions or restoring a previous session context.

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
void
required
A promise that resolves when the active session key is successfully set.