mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Update getnewaddress help message with "blech32" special case
This commit is contained in:
parent
56358b8c0e
commit
cc49106514
1 changed files with 3 additions and 1 deletions
|
|
@ -180,7 +180,9 @@ static UniValue getnewaddress(const JSONRPCRequest& request)
|
|||
RPCHelpMan{"getnewaddress",
|
||||
"\nReturns a new Bitcoin address for receiving payments.\n"
|
||||
"If 'label' is specified, it is added to the address book \n"
|
||||
"so payments received with the address will be associated with 'label'.\n",
|
||||
"so payments received with the address will be associated with 'label'.\n"
|
||||
"When the wallet doesn't give blinded addresses by default (-blindedaddresses=0), \n"
|
||||
"the address type \"blech32\" can still be used to get a blinded address.\n",
|
||||
{
|
||||
{"label", RPCArg::Type::STR, /* default */ "\"\"", "The label name for the address to be linked to. It can also be set to the empty string \"\" to represent the default label. The label does not need to exist, it will be created if there is no label by the given name."},
|
||||
{"address_type", RPCArg::Type::STR, /* default */ "set by -addresstype", "The address type to use. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\". Default is set by -addresstype."},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue