|
|
|
@ -1112,13 +1112,13 @@ UniValue sendmany(const JSONRPCRequest& request)
@@ -1112,13 +1112,13 @@ UniValue sendmany(const JSONRPCRequest& request)
|
|
|
|
|
" the number of addresses.\n" |
|
|
|
|
"\nExamples:\n" |
|
|
|
|
"\nSend two amounts to two different addresses:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\"") + |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"VPV6zKqt3gBufa1V4jdPc9WMuHz6GYufTS\\\":0.01,\\\"VCGLU9RdqoQaFo19SziUzeke9pcDBomU2X\\\":0.02}\"") + |
|
|
|
|
"\nSend two amounts to two different addresses setting the confirmation and comment:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\" 6 \"testing\"") + |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"VPV6zKqt3gBufa1V4jdPc9WMuHz6GYufTS\\\":0.01,\\\"VCGLU9RdqoQaFo19SziUzeke9pcDBomU2X\\\":0.02}\" 6 \"testing\"") + |
|
|
|
|
"\nSend two amounts to two different addresses, subtract fee from amount:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\" 1 \"\" \"[\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\",\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\"]\"") + |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"VPV6zKqt3gBufa1V4jdPc9WMuHz6GYufTS\\\":0.01,\\\"VCGLU9RdqoQaFo19SziUzeke9pcDBomU2X\\\":0.02}\" 1 \"\" \"[\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\",\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\"]\"") + |
|
|
|
|
"\nAs a json rpc call\n" |
|
|
|
|
+ HelpExampleRpc("sendmany", "\"\", {\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\":0.01,\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\":0.02}, 6, \"testing\"") |
|
|
|
|
+ HelpExampleRpc("sendmany", "\"\", {\"VPV6zKqt3gBufa1V4jdPc9WMuHz6GYufTS\":0.01,\"VCGLU9RdqoQaFo19SziUzeke9pcDBomU2X\":0.02}, 6, \"testing\"") |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
ObserveSafeMode(); |
|
|
|
@ -1250,20 +1250,13 @@ UniValue transfer(const JSONRPCRequest& request)
@@ -1250,20 +1250,13 @@ UniValue transfer(const JSONRPCRequest& request)
|
|
|
|
|
" [{\n" |
|
|
|
|
" \"address\":address (string) The kevacoin address\n" |
|
|
|
|
" \"amount\":amount (numeric) The numeric amount in atomic unut\n" |
|
|
|
|
" ,...\n" |
|
|
|
|
" }, ...]\n" |
|
|
|
|
"\nResult:\n" |
|
|
|
|
"\"txid\" (string) The transaction id for the send. Only 1 transaction is created regardless of \n" |
|
|
|
|
" the number of addresses.\n" |
|
|
|
|
"\nExamples:\n" |
|
|
|
|
"\nSend two amounts to two different addresses:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\"") + |
|
|
|
|
"\nSend two amounts to two different addresses setting the confirmation and comment:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\" 6 \"testing\"") + |
|
|
|
|
"\nSend two amounts to two different addresses, subtract fee from amount:\n" |
|
|
|
|
+ HelpExampleCli("sendmany", "\"\" \"{\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\":0.01,\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\":0.02}\" 1 \"\" \"[\\\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\\\",\\\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\\\"]\"") + |
|
|
|
|
"\nAs a json rpc call\n" |
|
|
|
|
+ HelpExampleRpc("sendmany", "\"\", {\"LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2\":0.01,\"LbhhnrHHVFP1eUjP1tdNIYeEVsNHfN9FCw\":0.02}, 6, \"testing\"") |
|
|
|
|
+ HelpExampleCli("transfer", "\"\" [ \"{\\\"VPV6zKqt3gBufa1V4jdPc9WMuHz6GYufTS\\\":0.01},\\{\"VCGLU9RdqoQaFo19SziUzeke9pcDBomU2X\\\":0.02} ]\"") |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
ObserveSafeMode(); |
|
|
|
|