Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

12
Ethereum send_raw_transaction Bug?
Post Body

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.

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
23,483
Link Karma
8,384
Comment Karma
15,099
Profile updated: 1 day ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago