MultiversX Tracker is Live!

Ethereum send_raw_transaction Bug?

Etherum Reddit

More / Etherum Reddit 124 Views

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.

submitted by /u/MineETH
[link] [comments]
Get BONUS $200 for FREE!

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