Skip to main content
getStellarAssetBalance returns the balance of a custom Stellar asset held by a wallet account on its active network. It returns "0" when the account has no trustline for the asset. For the native XLM balance, use getNativeBalance instead.

Usage

Parameters

Returns

Promise<{ balance: string }> - A promise that resolves to an object containing the balance as a decimal string in the asset’s display units.

Errors

Last modified on November 27, 2026