cleanwallettransactions - Spacecoin RPC Docs


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 SPACE
  "remaining_transactions" : n,     (numeric) Transactions in wallet after clean.
  "removed_transactions" : n,       (numeric) The number of transactions removed.
}

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


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto