diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -532,13 +532,13 @@ RPCExamples{ HelpExampleCli("createrawtransaction", "\"[{\\\"txid\\\":\\\"myid\\\",\\\"vout\\\":0}]" - "\" \"[{\\\"address\\\":0.01}]\"") + + "\" \"[{\\\"address\\\":10000.00}]\"") + HelpExampleCli("createrawtransaction", "\"[{\\\"txid\\\":\\\"myid\\\",\\\"vout\\\":0}]" "\" \"[{\\\"data\\\":\\\"00010203\\\"}]\"") + HelpExampleRpc("createrawtransaction", "\"[{\\\"txid\\\":\\\"myid\\\",\\\"vout\\\":0}]" - "\", \"[{\\\"address\\\":0.01}]\"") + + "\", \"[{\\\"address\\\":10000.00}]\"") + HelpExampleRpc("createrawtransaction", "\"[{\\\"txid\\\":\\\"myid\\\",\\\"vout\\\":0}]" "\", \"[{\\\"data\\\":\\\"00010203\\\"}]\"")}, @@ -983,7 +983,7 @@ HelpExampleCli( "createrawtransaction", "\"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" " - "\"{\\\"myaddress\\\":0.01}\"") + + "\"{\\\"myaddress\\\":10000}\"") + "Sign the transaction, and get back the hex\n" + HelpExampleCli("signrawtransactionwithwallet", "\"myhex\"") + "\nSend the transaction (signed hex)\n" + @@ -1082,7 +1082,7 @@ HelpExampleCli( "createrawtransaction", "\"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" " - "\"{\\\"myaddress\\\":0.01}\"") + + "\"{\\\"myaddress\\\":10000}\"") + "Sign the transaction, and get back the hex\n" + HelpExampleCli("signrawtransactionwithwallet", "\"myhex\"") + "\nTest acceptance of the transaction (signed hex)\n" + diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -451,15 +451,16 @@ RPCResult{RPCResult::Type::STR_HEX, "txid", "The transaction id."}, RPCExamples{ HelpExampleCli("sendtoaddress", - "\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1") + + "\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 100000") + HelpExampleCli("sendtoaddress", "\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvay" - "dd\" 0.1 \"donation\" \"seans " + "dd\" 100000 \"donation\" \"seans " "outpost\"") + HelpExampleCli("sendtoaddress", "\"1M72Sfpbz1BPpXFHz9m3CdqATR44" - "Jvaydd\" 0.1 \"\" \"\" true") + - HelpExampleRpc("sendtoaddress", "\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvay" - "dd\", 0.1, \"donation\", \"seans " - "outpost\"")}, + "Jvaydd\" 100000 \"\" \"\" true") + + HelpExampleRpc("sendtoaddress", + "\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvay" + "dd\", 100000, \"donation\", \"seans " + "outpost\"")}, } .Check(request); @@ -3880,7 +3881,7 @@ RPCExamples{ "\nCreate a transaction with no inputs\n" + HelpExampleCli("createrawtransaction", - "\"[]\" \"{\\\"myaddress\\\":0.01}\"") + + "\"[]\" \"{\\\"myaddress\\\":10000}\"") + "\nAdd sufficient unsigned inputs to meet the output value\n" + HelpExampleCli("fundrawtransaction", "\"rawtransactionhex\"") + "\nSign the transaction\n" +