<insufficient funds for gas * price + value. when ...
# stackoverflow
r
insufficient funds for gas * price + value. when i use smart contract method in android using web3j it showing that error - java.lang.RuntimeException: Error processing transaction request: insufficient funds for gas * price + value: balance 424719341670768841, queued cost 422740452000000000, tx cost 36900000000000000, overshot 34921110329231159 Need - gas fees should be just only 2% part of balance! Ex - balance 4247Eth, gas fee - 84.94eth (2%) and my code it is - NFTRewardsTheme { // Initialize Web3j and Credentials web3j = Web3j.build(HttpService(INFURA_URL)) credentials =...