@@ -2483,16 +2483,23 @@ UniValue mintzerocoin(const UniValue& params, bool fHelp)
2483
2483
{
2484
2484
if (fHelp || params.size () < 1 || params.size () > 2 )
2485
2485
throw runtime_error (
2486
- " mintzerocoin < amount> [ UTXOs] \n "
2487
- " amount: Enter an amount of Piv to convert to zPiv\n "
2488
- " UTXOs: (string, optional) A json array of objects. Each object the txid (string) vout (numeric)\n "
2486
+ " mintzerocoin amount ( UTXOs ) \n "
2487
+ " amount: (numeric, required) Enter an amount of Piv to convert to zPiv\n "
2488
+ " UTXOs: (string, optional) A json array of objects. Each object needs the txid (string) and vout (numeric)\n "
2489
2489
" [ (json array of json objects)\n "
2490
2490
" {\n "
2491
2491
" \" txid\" :\" id\" , (string) The transaction id\n "
2492
2492
" \" vout\" : n (numeric) The output number\n "
2493
2493
" }\n "
2494
2494
" ,...\n "
2495
2495
" ]\n "
2496
+ " \n Examples:\n "
2497
+ " \n Mint 50 from anywhere\n " +
2498
+ HelpExampleCli (" mintzerocoin" , " 50" ) +
2499
+ " \n Mint 13 from a specific output\n " +
2500
+ HelpExampleCli (" mintzerocoin" , " 13 \" [{\\\" txid\\\" :\\\" a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\" ,\\\" vout\\\" :1}]\" " ) +
2501
+ " \n As a json rpc call\n " +
2502
+ HelpExampleRpc (" mintzerocoin" , " 13, \" [{\\\" txid\\\" :\\\" a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\" ,\\\" vout\\\" :1}]\" " )
2496
2503
+ HelpRequiringPassphrase ());
2497
2504
2498
2505
LOCK2 (cs_main, pwalletMain->cs_wallet );
0 commit comments