Package: react-wallet-kit

Defined in: react-wallet-kit/src/providers/client/Types.tsx:74

Overview

Refreshes the user details.
  • This function fetches the latest user details for the current session (or optionally for a specific user/organization if provided)
and updates the user state variable in the provider.
  • If a stampWith parameter is provided, it will use that stamper to fetch the user details (supports Passkey, ApiKey, or Wallet stampers).
  • Automatically handles error reporting via the configured callbacks.
  • Typically used after authentication, user profile updates, or linking/unlinking authenticators to ensure the provider state is up to date.
  • If no user is found, the state will not be updated.

Parameters

params
object

Response

A successful response returns the following fields:
returns
void
required
A promise that resolves when the user details are successfully refreshed and state is updated.