Cancel a Transaction
Cancel a transaction that is pending in the mempool.
When a transaction has been sent to the blockchain, it is possible to cancel the transaction. However, the ability to cancel transactions is specific to each blockchain and depends on its internal mechanisms.
QUEUED transactions
On EVM chains, each transaction has a sequential nonce, which means that it will be mined in the order of its allocated nonce. Consequently, in case there is a STUCK transaction, all the following transactions
-- from that vault and on the same chain -- will be QUEUED and can be canceled only after the first STUCK transaction is first released (meaning: canceled or accelerated).All transaction statuses are described fully here.
The cancelation process relies on the miner's incentive for higher fees and low computation usage.
Note that even if a user canceled a transaction, the following can still happen:
- The original transaction will be mined (meaning, it wasn't canceled). In such an event, Fordefi will mark the canceling transaction as ABORTED.
- Both transactions will remain in the mempool without being mined.
Note
When you cancel a transaction by increasing its gas fee, both transactions remain pending in the mempool. Once the new transaction is mined, the original one will be dropped by the blockchain.
Cancel a transaction in the web console
First, cancel the transaction from the Fordefi web console and then sign it in the Fordefi mobile app.
- Open the Fordefi web console.
- In the side menu, click Transactions.
The Transactions screen opens at the default All tab, and displays a list of all transactions. - Navigate to the transaction you wish to cancel, and click ⋮ > Cancel transaction.
- In the confirmation dialog, click Yes. A notification is sent to the mobile device of the transaction initiator, that is, the person who initiated the transaction.
Sign the cancelation in the mobile app
A notification of the cancelation appears on your mobile device.
Sign the transaction.
Alternatively, open your Inbox, tap the new transaction request, and tap Sign.
Updated 10 months ago