Erc20.balanceOf() method
Get Token Balance
Example
// Address of the wallet to check token balance
const walletAddress = "{{wallet_address}}";
const balance = await contract.erc20.balanceOf(walletAddress);
Signature:
balanceOf(address: string): Promise<CurrencyValue>;
Parameters
Parameter | Type | Description |
---|---|---|
address | string |
Returns:
Promise<CurrencyValue>
The balance of a specific wallet.
Remarks
Get a wallets token balance.