abandontransaction
abandontransaction "txid"
Marks the in-wallet transaction <txid>
as abandoned. This action will mark the transaction and all its in-wallet descendants as abandoned, allowing their inputs to be re-spent. It is useful for replacing “stuck” or evicted transactions.
This can only be applied to transactions that are not included in a block and are not currently in the mempool.
It has no effect on transactions that are already marked as abandoned.
Argument #1 – txid
Type: string, required
The transaction id