data key (OP_RETURN) is optional in createrawtransaction

This commit is contained in:
Duke Leto
2022-04-20 10:51:12 -04:00
parent 689a360b60
commit 69cd4f7990

View File

@@ -647,7 +647,7 @@ UniValue createrawtransaction(const UniValue& params, bool fHelp, const CPubKey&
"2. \"outputs\" (object, required) a json object with outputs\n"
" {\n"
" \"address\": x.xxx, (numeric or string, required) The key is the HUSH address or script (in hex), the numeric value (can be string) is the " + CURRENCY_UNIT + " amount\n"
" \"data\": \"hex\" (string, required) The key is \"data\", the value is hex encoded data\n"
" \"data\": \"hex\" (string, optional) The key is \"data\", the value is hex encoded data\n"
" ,...\n"
" }\n"
"3. locktime (numeric, optional, default=0) Raw locktime. Non-0 value also locktime-activates inputs\n"