0

https://ropsten.etherscan.io/address/0xf0cc02d3fc8f53ecf90690757fafef646431996a

this example with out of gas. Create new transaction with nonce 5 not work, because tx is confirmed. How can i return 0.017 eth from fail transaction

  • I think that ETH send was canceled and burn only eth for gas transaction – Михаил Дзык Jul 29 at 18:29
1

If you send ETH and your transaction fails you only loose the gas paid.

| improve this answer | |
0

Your transaction failed, because it ran out of gas. Whenever a transaction runs out of gas or fails for other reasons (e.g. a smart contract that reverts), the Ether sent in the transaction is returned. You only pay the gas used by the transaction, which is Gas price * Gas limit.

You can read more about gas here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.