cleanwallettransactions - Hush 3.10.3 RPC

cleanwallettransactions "txid"

Remove all transparent UTXOs that are spent. You can clear all transactions bar one, by specifiying a txid.

Please backup your wallet.dat before running this command.

Arguments:
1. "txid"    (string, optional) The transaction id to keep.

Result:
{
  "total_transactions" : n,         (numeric) Transactions in wallet of HUSH3
  "remaining_transactions" : n,     (numeric) Transactions in wallet after clean.
  "removed_transactions" : n,       (numeric) The number of transactions removed.
}

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


Maintained by The Hush Developers

Welcome to the Hush full node RPC developer documentation!!! You finally made it.