Skip to main content

UtilsNamespace.getNativeBalance() method

Retrieves the native balance of an address.

Signature:

getNativeBalance(address: string): Promise<BalanceResult>;

Parameters

ParameterTypeDescription
addressstringThe address for which to retrieve the balance.

Returns:

Promise<BalanceResult>

A Promise resolving to the BalanceResult containing the symbol and amount of the native balance.