go-ethereum
go-ethereum copied to clipboard
Transaction pending on the network
I initiated the transaction long back. it is still not confirmed on the network. i found that it is pending due to low gas price. so i am trying to resend the transaction with higher gas price but i am facing error insufficient fund for transfer even though i am having sufficient fund in my wallet
eth.getBalance('0x367ae801e27effe1f79394705d0696845ca13e0d') 30313139845072020
eth.sendTransaction({from:"0x367ae801e27effe1f79394705d0696845ca13e0d", to:"0x6f0dbff9f77dd6ff664d1e314135dd9eabffc100", value:"24000000000000000", nonce:"147", gasPrice:"9000000000", gasLimit:"21000"})
Please help me out on this
Could you please paste the error?
Also, value and gasPrice should be hex really. Could you try with web3.toWei(9, "gwei")
for the gas price and similarly for the value? Nonce and gasLimit is an int, no need for quotes.
According to etherscan, yous pending tx has a gas price ov 46 gwei, so replacing it with 9 won't help.
I even tried with 90 gwei but it was saying insufficient fund error. but in the wallet it is having sufficient fund
value and gasPrice should be hex
Nonce and gasLimit is an int
Yes. I Changed the nonce and gas limit to int but still, i am getting insufficient fund error. I am having sufficient fund
Even I tried with 196 gwei
I canceled this transaction and initiated a new transaction.
So this issue is resolved then?
@developer2belfrics Are you sure your node is fully synced?
And can you pleas post the console content as text not screenshots?
I agree, this does look a bit odd:
>>> g
196000000000
>>> gp
21680
>>> v
24000000000000000
>>> gp*g + v
28249280000000000
>>> b
30313139845072020
>>> b > gp*g + v
True
This issue is quite stale now, closing