Skip to content

Commit 379aed0

Browse files
committed
Merge #10676: document script-based return fields for validateaddress
f2f1d0a document script-based return fields for validateaddress (Gregory Sanders) Tree-SHA512: 3310bb82b63ef20e46dd7ebcc9e15828cc7b6767ef19ddd869eeb5e4ee5b31ee307d21a44a9c81dbfe9d031bd48219e3ee1d330fc7b343d63d5365b68639c062
2 parents 21ed30a + f2f1d0a commit 379aed0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/rpc/misc.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,14 @@ UniValue validateaddress(const JSONRPCRequest& request)
174174
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
175175
" \"iswatchonly\" : true|false, (boolean) If the address is watchonly\n"
176176
" \"isscript\" : true|false, (boolean) If the key is a script\n"
177+
" \"script\" : \"type\" (string, optional) The output script type. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash\n"
178+
" \"hex\" : \"hex\", (string, optional) The redeemscript for the p2sh address\n"
179+
" \"addresses\" (string, optional) Array of addresses associated with the known redeemscript\n"
180+
" [\n"
181+
" \"address\"\n"
182+
" ,...\n"
183+
" ]\n"
184+
" \"sigsrequired\" : xxxxx (numeric, optional) Number of signatures required to spend multisig output\n"
177185
" \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n"
178186
" \"iscompressed\" : true|false, (boolean) If the address is compressed\n"
179187
" \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n"

0 commit comments

Comments
 (0)