common-close-0
BYDFi
Trade wherever you are!

What is the process to cancel an Ethereum transaction?

avatarsamy swifDec 29, 2021 · 3 years ago1 answers

Can someone explain the step-by-step process to cancel an Ethereum transaction? I accidentally sent a transaction with the wrong gas fee and I want to cancel it before it gets confirmed. How can I do that?

What is the process to cancel an Ethereum transaction?

1 answers

  • avatarDec 29, 2021 · 3 years ago
    If you're looking to cancel an Ethereum transaction, here's a step-by-step process you can follow: 1. Find the transaction hash of the transaction you want to cancel. 2. Use a blockchain explorer like Etherscan to search for the transaction hash. 3. Check the status of the transaction. If it is still pending or unconfirmed, you have a chance to cancel it. 4. Take note of the nonce and gas price of the transaction. 5. Open your Ethereum wallet and create a new transaction with the same nonce but a higher gas price. 6. Send the new transaction with a higher gas price. This will replace the old transaction and miners will prioritize the new one. 7. Wait for the new transaction to be confirmed. Once it is confirmed, the old transaction will be automatically canceled. Please note that cancelling a transaction is not always guaranteed, especially if it has already been confirmed by miners. Make sure to double-check the transaction details before sending it to avoid any issues.