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 '20 at 18:29

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


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.

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.