Skip to main content

Checking Stellar Wallet Account Type

When working with multiple blockchain types, you may need to check if a wallet account is specifically a Stellar wallet account. The isStellarWalletAccount type guard function helps you narrow down the type safely.

Usage

Parameters

Returns

boolean - Returns true if the wallet account is a Stellar wallet account, false otherwise. Also acts as a TypeScript type guard, narrowing the type to StellarWalletAccount.

React

isStellarWalletAccount is a synchronous type guard that works the same in React. Use it to filter wallet accounts reactively:
Last modified on June 25, 2026