Send BEP20 token

Using this sendToken function you can send token from one walletAddress to another walletAddress:

FieldTypeDescription
wallet_addressStringThe address for the sending account (sender's address).
wallet_passwordStringThe password which you set up already for your wallet.
gas_priceBigIntegerThe price of gas for this transaction fee.
gas_limitBigIntegerThe amount of gas to use for the transaction.
bnb_amountBigDecimalThe amount of BNB you wish to send to the destination address.
receiver_wallet_addressStringThe destination wallet address (receiver's address).
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}}";
BigInteger gasPrice = new BigInteger("{{gas_price}}");
BigInteger gasLimit = new BigInteger("{{gas_limit}}");
BigDecimal tokenAmount = new BigDecimal("token_amount");
String receiverAddress = "{{receiver_wallet_address}}";
String bep20TokenContractAddress = "{bep20_token_contract_address}";
ethManager.sendToken(walletAddress, password, gasPrice, gasLimit, tokenAmount, receiverAddress, bep20TokenContractAddress, this)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(tx -> {

                    Toast.makeText(this, "TX : " + tx, Toast.LENGTH_SHORT).show();

                }, error -> {

                });