Function: get_token_balance()
function get_token_balance(wallet, token_ref): Promise<CwebToken | TokenAmount>;
Returns user's token balance. token_ref
should be null
for Cweb.
Parameters
• wallet: Wallet
• token_ref: null
| string
Returns
Promise
<CwebToken
|
TokenAmount
>