Skip to main content

Erc20.balanceOf() method

Get Token Balance

Example

// Address of the wallet to check token balance
const walletAddress = "{{wallet_address}}";
const balance = await contract.token.balanceOf(walletAddress);

Signature:

balanceOf(address: string): Promise<CurrencyValue>;

Parameters

ParameterTypeDescription
addressstring

Returns:

Promise<CurrencyValue>

The balance of a specific wallet.

Remarks

Get a wallets token balance.