@@ -532,7 +532,7 @@ UniValue decodescript(const JSONRPCRequest& request)
532532{
533533 if (request.fHelp || request.params .size () != 1 )
534534 throw runtime_error (
535- " decodescript \" hex \"\n "
535+ " decodescript \" hexstring \"\n "
536536 " \n Decode a hex-encoded script.\n "
537537 " \n Arguments:\n "
538538 " 1. \" hex\" (string) the hex encoded script\n "
@@ -616,7 +616,7 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
616616 " }\n "
617617 " ,...\n "
618618 " ]\n "
619- " 3. \" privatekeys \" (string, optional) A json array of base58-encoded private keys for signing\n "
619+ " 3. \" privkeys \" (string, optional) A json array of base58-encoded private keys for signing\n "
620620 " [ (json array of strings, or 'null' if none provided)\n "
621621 " \" privatekey\" (string) private key in base58-encoding\n "
622622 " ,...\n "
@@ -926,15 +926,15 @@ UniValue sendrawtransaction(const JSONRPCRequest& request)
926926static const CRPCCommand commands[] =
927927{ // category name actor (function) okSafeMode
928928 // --------------------- ------------------------ ----------------------- ----------
929- { " rawtransactions" , " getrawtransaction" , &getrawtransaction, true },
930- { " rawtransactions" , " createrawtransaction" , &createrawtransaction, true },
931- { " rawtransactions" , " decoderawtransaction" , &decoderawtransaction, true },
932- { " rawtransactions" , " decodescript" , &decodescript, true },
933- { " rawtransactions" , " sendrawtransaction" , &sendrawtransaction, false },
934- { " rawtransactions" , " signrawtransaction" , &signrawtransaction, false }, /* uses wallet if enabled */
935-
936- { " blockchain" , " gettxoutproof" , &gettxoutproof, true },
937- { " blockchain" , " verifytxoutproof" , &verifytxoutproof, true },
929+ { " rawtransactions" , " getrawtransaction" , &getrawtransaction, true , { " txid " , " verbose " } },
930+ { " rawtransactions" , " createrawtransaction" , &createrawtransaction, true , { " transactions " , " outputs " , " locktime " } },
931+ { " rawtransactions" , " decoderawtransaction" , &decoderawtransaction, true , { " hexstring " } },
932+ { " rawtransactions" , " decodescript" , &decodescript, true , { " hexstring " } },
933+ { " rawtransactions" , " sendrawtransaction" , &sendrawtransaction, false , { " hexstring " , " allowhighfees " } },
934+ { " rawtransactions" , " signrawtransaction" , &signrawtransaction, false , { " hexstring " , " prevtxs " , " privkeys " , " sighashtype " } }, /* uses wallet if enabled */
935+
936+ { " blockchain" , " gettxoutproof" , &gettxoutproof, true , { " txids " , " blockhash " } },
937+ { " blockchain" , " verifytxoutproof" , &verifytxoutproof, true , { " proof " } },
938938};
939939
940940void RegisterRawTransactionRPCCommands (CRPCTable &t)
0 commit comments