getBalance

getBalance(tokenUid, callbackFunc);

Parameters

tokenUid: "", "0" or "00" for HTR balance, otherwise token uid for specific token balance.
callbackFunc: callback functions for getting wallet balance

Returns in callback function

{
status: true,
balance: 5235 // 52.35 HTR
}
or
{
status: false
}