getBalance
1
getBalance(tokenUid, callbackFunc);
Copied!

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

1
{
2
status: true,
3
balance: 5235 // 52.35 HTR
4
}
Copied!
or
1
{
2
status: false
3
}
Copied!