cleanwallettransactions - Komodo RPC

cleanwallettransactions "txid"

Remove all txs that are spent. You can clear all txs 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 KMD
  "remaining_transactions" : n,     (numeric) Transactions in wallet after clean.
  "removed_transactions" : n,       (numeric) The number of transactions removed.
}

Examples:
> komodo-cli cleanwallettransactions 
> komodo-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:7771/
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cleanwallettransactions", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto