4023@@ -4024,9 +4024,10 @@ static RPCHelpMan send()
4024 {"change_address", RPCArg::Type::STR_HEX, /* default */ "pool address", "The bitcoin address to receive the change"},
4025 {"change_position", RPCArg::Type::NUM, /* default */ "random", "The index of the change output"},
4026 {"change_type", RPCArg::Type::STR, /* default */ "set by -changetype", "The output type to use. Only valid if change_address is not specified. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\"."},
4027- {"conf_target", RPCArg::Type::NUM, /* default */ "wallet default", "Confirmation target (in blocks), or fee rate (for " + CURRENCY_UNIT + "/kB or " + CURRENCY_ATOM + "/B estimate modes)"},
4028+ {"conf_target", RPCArg::Type::NUM, /* default */ "wallet default", "Confirmation target (in blocks)"},
4029 {"estimate_mode", RPCArg::Type::STR, /* default */ "unset", std::string() + "The fee estimate mode, must be one of (case insensitive):\n"
4030 " \"" + FeeModes("\"\n\"") + "\""},
4031+ {"fee_rate", RPCArg::Type::NUM, /* default */ "wallet default", "Fee rate (for " + CURRENCY_UNIT + "/kB or " + CURRENCY_ATOM + "/B estimate modes)"},
eeae8bbf7785133f0df3c7b731a452204eb03b15 I don’t think this works at this commit? Maybe as feeRate
but then you see Cannot specify both estimate_mode and feeRate
. Also, wallet_send.py
has no test coverage for it currently.