useTokenBalances
hook:
tokenBalances
with the following properties:
Property | Type | Description |
---|---|---|
networkId | integer | The network ID of the token i.e. 1 for Ethereum, 137 for Polygon, etc. |
address | string | The address of the token. |
name | string | The name of the token. |
symbol | string | The symbol of the token. |
decimals | integer | The number of decimals the token has. |
logoURI | string | The URI of the token’s logo image. |
balance | float | The balance of the token in the user’s wallet. |
rawBalance | integer | The raw balance of the token in the user’s wallet. |
useTokenBalances
hook here.