Ethereum Balance

Using this balanceInEth 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.
EthManager ethManager = EthManager.getInstance();
String walletAddress = "{{wallet_address}}";
ethManager.balanceInEth(walletAddress)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(balance -> {

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

                }, error -> {

                });