BEP20 Token Balance

Using this getTokenBalance function you can get token balance of provided walletAddress:

FieldTypeDescription
wallet_addressStringThe address starts with “0x” and is followed by a series of 40 random characters.
wallet_passwordStringThe password which you set up already for your wallet.
bep20_token_contract_addressStringThe bep20 token contract address is the address of the place where your token is preserved. It is a hexadecimal notion of your public key which always starts with '0x'. You have a home address that depicts your presence at a particular location.
BinanceManager binanceManager = BinanceManager.getInstance();
binanceManager.init("https://data-seed-prebsc-1-s1.binance.org:8545");
String walletAddress = "{{wallet_address}}";
String password = "{{wallet_password}}";
String bep20TokenContractAddress = "{bep20_token_contract_address}";
binanceManager.getTokenBalance(walletAddress, password, bep20TokenContractAddress, this)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(balance -> {

                    Toast.makeText(this, "Token Balance : " + balance, Toast.LENGTH_SHORT).show();

                }, error -> {

                });