Skip to Content
DevelopersError CodesCodesAuthWallet not initialized

Wallet not initialized

Code

AUTH/NOT_INITALIZED_WALLET

What it means

The wallet object is required for the operation (signing, querying as a user, sending tx), but the client has not initialized it yet.

When it happens

  • A feature that requires a wallet runs before the wallet is initialized.

Typical scenarios:

  • User is not logged in yet
  • Active account was not set / restored from storage
  • Wallet initialization failed earlier and the feature didn’t gate correctly

How to handle

  • In UI, redirect to login / show “Connect wallet” flow.
  • In code, fail fast with a clear meta.via so you can find the missing gate.
Last updated on
Docsv1.0.10