mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
rpc: clarify label vs labels in getaddressinfo RPCHelpman
This commit is contained in:
parent
5a0ed85070
commit
8d1ed0c263
1 changed files with 4 additions and 3 deletions
|
@ -3742,15 +3742,16 @@ UniValue getaddressinfo(const JSONRPCRequest& request)
|
||||||
" getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath,\n"
|
" getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath,\n"
|
||||||
" hdseedid) and relation to the wallet (ismine, iswatchonly).\n"
|
" hdseedid) and relation to the wallet (ismine, iswatchonly).\n"
|
||||||
" \"iscompressed\" : true|false, (boolean, optional) If the pubkey is compressed.\n"
|
" \"iscompressed\" : true|false, (boolean, optional) If the pubkey is compressed.\n"
|
||||||
" \"label\" : \"label\" (string) The label associated with the address. Defaults to \"\".\n"
|
" \"label\" : \"label\" (string) The label associated with the address. Defaults to \"\". Equivalent to the name field in the labels array.\n"
|
||||||
" \"timestamp\" : timestamp, (number, optional) The creation time of the key if available, expressed in seconds since Epoch Time (Jan 1 1970 GMT).\n"
|
" \"timestamp\" : timestamp, (number, optional) The creation time of the key if available, expressed in seconds since Epoch Time (Jan 1 1970 GMT).\n"
|
||||||
" \"hdkeypath\" : \"keypath\" (string, optional) The HD keypath, if the key is HD and available.\n"
|
" \"hdkeypath\" : \"keypath\" (string, optional) The HD keypath, if the key is HD and available.\n"
|
||||||
" \"hdseedid\" : \"<hash160>\" (string, optional) The Hash160 of the HD seed.\n"
|
" \"hdseedid\" : \"<hash160>\" (string, optional) The Hash160 of the HD seed.\n"
|
||||||
" \"hdmasterfingerprint\" : \"<hash160>\" (string, optional) The fingerprint of the master key.\n"
|
" \"hdmasterfingerprint\" : \"<hash160>\" (string, optional) The fingerprint of the master key.\n"
|
||||||
" \"labels\" (object) Array of labels associated with the address.\n"
|
" \"labels\" (object) An array of labels associated with the address. Currently limited to one label but returned\n"
|
||||||
|
" as an array to keep the API stable if multiple labels are enabled in the future.\n"
|
||||||
" [\n"
|
" [\n"
|
||||||
" { (json object of label data)\n"
|
" { (json object of label data)\n"
|
||||||
" \"name\": \"label name\" (string) The label.\n"
|
" \"name\": \"label name\" (string) The label name. Defaults to \"\". Equivalent to the label field above.\n"
|
||||||
" \"purpose\": \"purpose\" (string) The purpose of the associated address (send or receive).\n"
|
" \"purpose\": \"purpose\" (string) The purpose of the associated address (send or receive).\n"
|
||||||
" },...\n"
|
" },...\n"
|
||||||
" ]\n"
|
" ]\n"
|
||||||
|
|
Loading…
Reference in a new issue