Retrieve token balance
How to retrieve the balance of a token for a wallet
To fetch the balance of a certain token for a wallet, you need to call the function getTokenBalance
which will return a promise containing a TokenBalance
object. If you need the entire balance a certain wallet holds, it is recommended to use the getTokenBalances
function.
Function
Example
Returns
Function Reference
The function reference describes the different functions that are available in the Widget. For each function you can find the signature, it's parameters, and possible options documented.
pagegetTokenBalancepagegetTokenBalanceByAddresspagegetTokenBalancespagegetTokenBalancesByAddressLast updated