diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -1036,7 +1036,7 @@ RPCHelpMan{ "signrawtransactionwithkey", { - {"hexstring", RPCArg::Type::STR, false}, + {"hexstring", RPCArg::Type::STR_HEX, false}, {"privkyes", RPCArg::Type::ARR, { diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4044,7 +4044,7 @@ {"addresses", RPCArg::Type::ARR, { - {"address", RPCArg::Type::STR_HEX, true}, + {"address", RPCArg::Type::STR, true}, }, true}, {"include_unsafe", RPCArg::Type::BOOL, true}, @@ -4512,7 +4512,7 @@ RPCHelpMan{ "signrawtransactionwithwallet", { - {"hexstring", RPCArg::Type::STR, false}, + {"hexstring", RPCArg::Type::STR_HEX, false}, {"prevtxs", RPCArg::Type::ARR, { @@ -5395,7 +5395,7 @@ { {"txid", RPCArg::Type::STR_HEX, false}, {"vout", RPCArg::Type::NUM, false}, - {"sequence", RPCArg::Type::NUM, false}, + {"sequence", RPCArg::Type::NUM, true}, }, false}, }, @@ -5421,7 +5421,7 @@ {"options", RPCArg::Type::OBJ, { - {"changeAddress", RPCArg::Type::STR_HEX, true}, + {"changeAddress", RPCArg::Type::STR, true}, {"changePosition", RPCArg::Type::NUM, true}, {"includeWatching", RPCArg::Type::BOOL, true}, {"lockUnspents", RPCArg::Type::BOOL, true},