@@ -532,7 +532,7 @@ UniValue decodescript(const JSONRPCRequest& request)
532
532
{
533
533
if (request.fHelp || request.params .size () != 1 )
534
534
throw runtime_error (
535
- " decodescript \" hex \"\n "
535
+ " decodescript \" hexstring \"\n "
536
536
" \n Decode a hex-encoded script.\n "
537
537
" \n Arguments:\n "
538
538
" 1. \" hex\" (string) the hex encoded script\n "
@@ -616,7 +616,7 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
616
616
" }\n "
617
617
" ,...\n "
618
618
" ]\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 "
620
620
" [ (json array of strings, or 'null' if none provided)\n "
621
621
" \" privatekey\" (string) private key in base58-encoding\n "
622
622
" ,...\n "
@@ -926,15 +926,15 @@ UniValue sendrawtransaction(const JSONRPCRequest& request)
926
926
static const CRPCCommand commands[] =
927
927
{ // category name actor (function) okSafeMode
928
928
// --------------------- ------------------------ ----------------------- ----------
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 " } },
938
938
};
939
939
940
940
void RegisterRawTransactionRPCCommands (CRPCTable &t)
0 commit comments