Reformat validateaddress help, add missing iswatchonly description.
This commit is contained in:
parent
a4fe57da62
commit
e0862c0933
1 changed files with 5 additions and 4 deletions
|
@ -157,13 +157,14 @@ UniValue validateaddress(const UniValue& params, bool fHelp)
|
||||||
"1. \"bitcoinaddress\" (string, required) The bitcoin address to validate\n"
|
"1. \"bitcoinaddress\" (string, required) The bitcoin address to validate\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n"
|
" \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n"
|
||||||
" \"address\" : \"bitcoinaddress\", (string) The bitcoin address validated\n"
|
" \"address\" : \"bitcoinaddress\", (string) The bitcoin address validated\n"
|
||||||
" \"scriptPubKey\" : \"hex\", (string) The hex encoded scriptPubKey generated by the address\n"
|
" \"scriptPubKey\" : \"hex\", (string) The hex encoded scriptPubKey generated by the address\n"
|
||||||
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
|
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
|
||||||
" \"isscript\" : true|false, (boolean) If the key is a script\n"
|
" \"iswatchonly\" : true|false, (boolean) If the address is watchonly\n"
|
||||||
|
" \"isscript\" : true|false, (boolean) If the key is a script\n"
|
||||||
" \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n"
|
" \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n"
|
||||||
" \"iscompressed\" : true|false, (boolean) If the address is compressed\n"
|
" \"iscompressed\" : true|false, (boolean) If the address is compressed\n"
|
||||||
" \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n"
|
" \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
|
|
Loading…
Reference in a new issue