Skip to content

abandontransaction Command Guide

Enrico Rubboli edited this page Sep 4, 2023 · 2 revisions

The abandontransaction command allows you to abandon an unconfirmed transaction within your Mintlayer wallet. By doing so, the inputs consumed by the abandoned transaction are made available for reuse in subsequent transactions.

Understanding Transaction Abandonment

In some cases, you might want to abandon a transaction, especially if it remains unconfirmed for an extended period. This could be due to various reasons, such as setting a low transaction fee. Abandoning the transaction allows you to regain control over the consumed inputs and potentially create a new transaction with a higher fee or different parameters.

Usage

To abandon an unconfirmed transaction, use the following command:

abandontransaction <TRANSACTION_ID>

Arguments

  • <TRANSACTION_ID>: The unique identifier of the transaction you wish to abandon.

Output

Upon successful execution, the command will confirm the abandonment of the transaction, and the consumed inputs will be made available for reuse.

Important Notes

  • Local Operation: The abandontransaction command operates locally on your Mintlayer wallet. This means that even if you abandon a transaction in your wallet, if it has already been propagated to the network, there's no guarantee that it won't be included in a future block. Always be cautious and understand that once a transaction is broadcasted, it's out of your control, and this command doesn't reverse that.

Options

  • -h, --help: Displays the help
Clone this wiki locally