@@ -388,11 +388,11 @@ UniValue sendtoaddress(const UniValue& params, bool fHelp)
388388 if (fHelp || params.size () < 2 || params.size () > 5 )
389389 throw runtime_error (
390390 " sendtoaddress \" bitcoinaddress\" amount ( \" comment\" \" comment-to\" subtractfeefromamount )\n "
391- " \n Send an amount to a given address. The amount is a real and is rounded to the nearest 0.00000001 \n "
391+ " \n Send an amount to a given address.\n "
392392 + HelpRequiringPassphrase () +
393393 " \n Arguments:\n "
394394 " 1. \" bitcoinaddress\" (string, required) The bitcoin address to send to.\n "
395- " 2. \" amount\" (numeric, required) The amount in " + CURRENCY_UNIT + " to send. eg 0.1\n "
395+ " 2. \" amount\" (numeric or string , required) The amount in " + CURRENCY_UNIT + " to send. eg 0.1\n "
396396 " 3. \" comment\" (string, optional) A comment used to store what the transaction is for. \n "
397397 " This is not part of the transaction, just kept in your wallet.\n "
398398 " 4. \" comment-to\" (string, optional) A comment to store the name of the person or organization \n "
@@ -864,13 +864,12 @@ UniValue sendfrom(const UniValue& params, bool fHelp)
864864 if (fHelp || params.size () < 3 || params.size () > 6 )
865865 throw runtime_error (
866866 " sendfrom \" fromaccount\" \" tobitcoinaddress\" amount ( minconf \" comment\" \" comment-to\" )\n "
867- " \n DEPRECATED (use sendtoaddress). Sent an amount from an account to a bitcoin address.\n "
868- " The amount is a real and is rounded to the nearest 0.00000001."
867+ " \n DEPRECATED (use sendtoaddress). Sent an amount from an account to a bitcoin address."
869868 + HelpRequiringPassphrase () + " \n "
870869 " \n Arguments:\n "
871870 " 1. \" fromaccount\" (string, required) The name of the account to send funds from. May be the default account using \"\" .\n "
872871 " 2. \" tobitcoinaddress\" (string, required) The bitcoin address to send funds to.\n "
873- " 3. amount (numeric, required) The amount in " + CURRENCY_UNIT + " (transaction fee is added on top).\n "
872+ " 3. amount (numeric or string , required) The amount in " + CURRENCY_UNIT + " (transaction fee is added on top).\n "
874873 " 4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n "
875874 " 5. \" comment\" (string, optional) A comment used to store what the transaction is for. \n "
876875 " This is not part of the transaction, just kept in your wallet.\n "
@@ -935,7 +934,7 @@ UniValue sendmany(const UniValue& params, bool fHelp)
935934 " 1. \" fromaccount\" (string, required) DEPRECATED. The account to send the funds from. Should be \"\" for the default account\n "
936935 " 2. \" amounts\" (string, required) A json object with addresses and amounts\n "
937936 " {\n "
938- " \" address\" :amount (numeric) The bitcoin address is the key, the numeric amount in " + CURRENCY_UNIT + " is the value\n "
937+ " \" address\" :amount (numeric or string ) The bitcoin address is the key, the numeric amount (can be string) in " + CURRENCY_UNIT + " is the value\n "
939938 " ,...\n "
940939 " }\n "
941940 " 3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.\n "
@@ -2180,7 +2179,7 @@ UniValue settxfee(const UniValue& params, bool fHelp)
21802179 " settxfee amount\n "
21812180 " \n Set the transaction fee per kB. Overwrites the paytxfee parameter.\n "
21822181 " \n Arguments:\n "
2183- " 1. amount (numeric, required) The transaction fee in " + CURRENCY_UNIT + " /kB rounded to the nearest 0.00000001 \n "
2182+ " 1. amount (numeric or sting , required) The transaction fee in " + CURRENCY_UNIT + " /kB\n "
21842183 " \n Result\n "
21852184 " true|false (boolean) Returns true if successful\n "
21862185 " \n Examples:\n "
0 commit comments