Skip to main content

Package: react-wallet-kit

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

Overview

Refreshes the wallets state for the current user session.
  • This function fetches the latest list of wallets associated with the current session or user,
and updates the wallets state variable in the provider.
  • If a stampWith parameter is provided, it will use that stamper to fetch the wallets
(supports Passkey, ApiKey, or Wallet stampers for granular authentication control).
  • Automatically handles error reporting via the configured callbacks.
  • Typically used after wallet creation, import, export, account changes, or authentication
to ensure the provider state is up to date.
  • If no wallets are found, the state will be set to an empty array.

Parameters

params
RefreshWalletsParams

Response

A successful response returns the following fields:
returns
Wallet[]
required
A promise that resolves with the latest list of wallets.