BNB Balance

Using this getBNBBalance function you can check balance of provided walletAddress:

FieldTypeDescription
wallet_addressStringThe address starts with “0x” and is followed by a series of 40 random characters.
BinanceManager binanceManager = BinanceManager.getInstance();
binanceManager.init("https://data-seed-prebsc-1-s1.binance.org:8545");
String walletAddress = "{{wallet_address}}";
binanceManager.getBNBBalance(walletAddress)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(balance -> {

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

                }, error -> {

                });