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.
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.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/ethereum/co...