Skip to main content

StandardErc20.balanceOf() method

Get Token Balance

Example

// Address of the wallet to check token balance
const walletAddress = "{{wallet_address}}";
const balance = await contract.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.