This function returns the token balance for a specified token. Token needs to be based on the ERC20 standard, this included for example ERC20, VIP180, TRC20, ...
arkaneConnect.api.getTokenBalance("d91b644a-076f-44bf-ae90-29251df19784", "0xB8c77482e45F1F44dE1745F52C74426C631bDD52");
arkaneConnect.api.getTokenBalance(walletId: string, tokenAddress: string): Promise<TokenBalance>
Promise<TokenBalance>
Parameter | Required | Description |
|
| Wallet ID of the wallet you want to fetch the balance of |
|
| Address of the token contract |
arkaneConnect.api.getTokenBalance("d91b644a-076f-44bf-ae90-29251df19784", "0xB8c77482e45F1F44dE1745F52C74426C631bDD52");