# How to get token balance?

**URL:** <https://forums.sui.io/t/how-to-get-token-balance/46218>\
**Category:** General\
**Created:** [October 16, 2024, 7:20pm UTC](https://forums.sui.io/t/how-to-get-token-balance/46218 "2024-10-16T19:20:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bebrick](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bebrick](https://forums.sui.io/u/bebrick)\
**Post date:** [October 16, 2024, 7:20pm UTC](https://forums.sui.io/t/how-to-get-token-balance/46218/1 "2024-10-16T19:20:02Z")

</div>

Hi! I am trying to get token balances with sui ts sdk. For now i have 0.998771 wUSDC on my wallet, i am trying to get it in code:

const wUSDC = “0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf:🪙:COIN”;

const tokenBalance = await client.getBalance({ owner: myAddress, coinType: wUSDC });

output:  
{  
coinType: ‘0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf:🪙:COIN’,  
coinObjectCount: 2,  
totalBalance: ‘283358’,  
lockedBalance: {}  
}

what means totalBalance: ‘283358’? I should get smth like 999771 (6 decimals)

The trouble was with address, I searched for another (wrong) account… xD

---

<div class="post-metadata">

**Author:** ![alinachan](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/alinachan/32/30563_2.png) [@alinachan](https://forums.sui.io/u/alinachan)\
**Post date:** [October 18, 2024, 7:18am UTC](https://forums.sui.io/t/how-to-get-token-balance/46218/2 "2024-10-18T07:18:37Z")

</div>

Closed on October 18, 2024, 7:18am UTC


