Skip to main content

Variable: WALLET\_CONNECTION\_FAILURE\_REASONS

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / WALLET_CONNECTION_FAILURE_REASONS

Variable: WALLET_CONNECTION_FAILURE_REASONS

const WALLET_CONNECTION_FAILURE_REASONS: readonly ["no_accounts", "user_rejected", "failed"]

Defined in: packages/gala-core-sdk/dist/index.d.ts:149

Why connecting a wallet provider failed (WALLET_CONNECTION_FAILED.params.reason):

  • no_accounts: the wallet answered eth_requestAccounts with no account;
  • user_rejected: the person declined the connection in their wallet (EIP-1193 4001);
  • failed: anything else the wallet threw (the original error is cause).