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

Result

null    (json null)

Examples

bitcoinevo-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"]}' -H 'content-type: text/plain;' http://127.0.0.1:7332/