Get a User's ERC20 Balance
Get ERC20 balance of user
Usage in your script
const response = await getERC20Balance.getBalance(TOKEN_ADDRESS,CHAIN_ID);
const balance = response.balance;
Parameters
Parameter
Type
Required
Description
CHAIN_ID
number
YES
the network ID
TOKEN_ADDRESS
STRING
YES
Token Contract address
Last updated