I have an address with .05 Ethereum.
However, I'm constantly getting an insufficient funds for gas * price + value whenever I broadcast a transaction.
I set ['value'] to 19502309390274000 wei (which is 0.019502309390274 ETH).
I set ['maxFeePerGas'] and ['maxFeePerGas'] to gas_fee and ['gas'] to gas (which were estimated with Web3 gas functions)
When I add gas*gas_fee + value I get 19995000000000000 wei (which is 0.019995 ETH).
I'm not sending anywhere close to .05 ETH and any gas fee should not be .02 ETH ($33). I've already sent over 50 transactions with this function and used over 3 different Ethereum RPCs? Fetching Ethereum balances on Etherscan + RPC all show the same address balance.
What would be the issue here with failing to broadcast a transaction with any amount?
_
I also tried hardcoding the values to:
['gas'] = 13275835406
['gasPrice'] = 21000
['value'] = 43581811184711000
with another send function and there is still the same 'insufficient funds for gas * price + value' issue. I made sure to triple check get_balance(address) before handing these functions.
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments