Skip to main content

Vote.balanceOfToken() method

Check the balance of the project wallet in a particular ERC20 token contract

Signature:

balanceOfToken(tokenAddress: string): Promise<CurrencyValue>;

Parameters

ParameterTypeDescription
tokenAddressstring

Returns:

Promise<CurrencyValue>

  • The balance of the project in the native token of the chain