@ -448,7 +448,7 @@ UniValue listaddressgroupings(const JSONRPCRequest& request)
@@ -448,7 +448,7 @@ UniValue listaddressgroupings(const JSONRPCRequest& request)
" [ \n "
" \" address \" , (string) The bitcoin address \n "
" amount, (numeric) The amount in " + CURRENCY_UNIT + " \n "
" \" account \" (string, optional) The account (DEPRECATED) \n "
" \" account \" (string, optional) DEPRECATED. The account \n "
" ] \n "
" ,... \n "
" ] \n "
@ -668,7 +668,7 @@ UniValue getbalance(const JSONRPCRequest& request)
@@ -668,7 +668,7 @@ UniValue getbalance(const JSONRPCRequest& request)
" \n Arguments: \n "
" 1. \" account \" (string, optional) DEPRECATED. The selected account, or \" * \" for entire wallet. It may be the default account using \" \" . \n "
" 2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times. \n "
" 3. include_watchonly (bool, optional, default=false) Also include balance in watchonly addresses (see 'importaddress') \n "
" 3. include_watchonly (bool, optional, default=false) Also include balance in watch- only addresses (see 'importaddress') \n "
" \n Result: \n "
" amount (numeric) The total amount in " + CURRENCY_UNIT + " received for this account. \n "
" \n Examples: \n "
@ -1258,7 +1258,7 @@ UniValue listreceivedbyaddress(const JSONRPCRequest& request)
@@ -1258,7 +1258,7 @@ UniValue listreceivedbyaddress(const JSONRPCRequest& request)
" \n Arguments: \n "
" 1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included. \n "
" 2. include_empty (bool, optional, default=false) Whether to include addresses that haven't received any payments. \n "
" 3. include_watchonly (bool, optional, default=false) Whether to include watchonly addresses (see 'importaddress'). \n "
" 3. include_watchonly (bool, optional, default=false) Whether to include watch- only addresses (see 'importaddress'). \n "
" \n Result: \n "
" [ \n "
@ -1268,7 +1268,11 @@ UniValue listreceivedbyaddress(const JSONRPCRequest& request)
@@ -1268,7 +1268,11 @@ UniValue listreceivedbyaddress(const JSONRPCRequest& request)
" \" account \" : \" accountname \" , (string) DEPRECATED. The account of the receiving address. The default account is \" \" . \n "
" \" amount \" : x.xxx, (numeric) The total amount in " + CURRENCY_UNIT + " received by the address \n "
" \" confirmations \" : n, (numeric) The number of confirmations of the most recent transaction included \n "
" \" label \" : \" label \" (string) A comment for the address/transaction, if any \n "
" \" label \" : \" label \" , (string) A comment for the address/transaction, if any \n "
" \" txids \" : [ \n "
" n, (numeric) The ids of transactions received with the address \n "
" ... \n "
" ] \n "
" } \n "
" ,... \n "
" ] \n "
@ -1296,7 +1300,7 @@ UniValue listreceivedbyaccount(const JSONRPCRequest& request)
@@ -1296,7 +1300,7 @@ UniValue listreceivedbyaccount(const JSONRPCRequest& request)
" \n Arguments: \n "
" 1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included. \n "
" 2. include_empty (bool, optional, default=false) Whether to include accounts that haven't received any payments. \n "
" 3. include_watchonly (bool, optional, default=false) Whether to include watchonly addresses (see 'importaddress'). \n "
" 3. include_watchonly (bool, optional, default=false) Whether to include watch- only addresses (see 'importaddress'). \n "
" \n Result: \n "
" [ \n "
@ -1433,7 +1437,7 @@ UniValue listtransactions(const JSONRPCRequest& request)
@@ -1433,7 +1437,7 @@ UniValue listtransactions(const JSONRPCRequest& request)
" 1. \" account \" (string, optional) DEPRECATED. The account name. Should be \" * \" . \n "
" 2. count (numeric, optional, default=10) The number of transactions to return \n "
" 3. skip (numeric, optional, default=0) The number of transactions to skip \n "
" 4. include_watchonly (bool, optional, default=false) Include transactions to watchonly addresses (see 'importaddress') \n "
" 4. include_watchonly (bool, optional, default=false) Include transactions to watch- only addresses (see 'importaddress') \n "
" \n Result: \n "
" [ \n "
" { \n "
@ -1448,14 +1452,14 @@ UniValue listtransactions(const JSONRPCRequest& request)
@@ -1448,14 +1452,14 @@ UniValue listtransactions(const JSONRPCRequest& request)
" \" amount \" : x.xxx, (numeric) The amount in " + CURRENCY_UNIT + " . This is negative for the 'send' category, and for the \n "
" 'move' category for moves outbound. It is positive for the 'receive' category, \n "
" and for the 'move' category for inbound funds. \n "
" \" label \" : \" label \" , (string) A comment for the address/transaction, if any \n "
" \" vout \" : n, (numeric) the vout value \n "
" \" fee \" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + " . This is negative and only available for the \n "
" 'send' category of transactions. \n "
" \" abandoned \" : xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). \n "
" \" confirmations \" : n, (numeric) The number of confirmations for the transaction. Available for 'send' and \n "
" 'receive' category of transactions. Negative confirmations indicate the \n "
" transaction conflicts with the block chain \n "
" \" trusted \" : xxx (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend. \n "
" \" trusted \" : xxx, (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend. \n "
" \" blockhash \" : \" hashvalue \" , (string) The block hash containing the transaction. Available for 'send' and 'receive' \n "
" category of transactions. \n "
" \" blockindex \" : n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive' \n "
@ -1466,12 +1470,13 @@ UniValue listtransactions(const JSONRPCRequest& request)
@@ -1466,12 +1470,13 @@ UniValue listtransactions(const JSONRPCRequest& request)
" \" timereceived \" : xxx, (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT). Available \n "
" for 'send' and 'receive' category of transactions. \n "
" \" comment \" : \" ... \" , (string) If a comment is associated with the transaction. \n "
" \" label \" : \" label \" (string) A comment for the address/transaction, if any \n "
" \" otheraccount \" : \" accountname \" , (string) For the 'move' category of transactions, the account the funds came \n "
" \" otheraccount \" : \" accountname \" , (string) DEPRECATED. For the 'move' category of transactions, the account the funds came \n "
" from (for receiving funds, positive amounts), or went to (for sending funds, \n "
" negative amounts). \n "
" \" bip125-replaceable \" : \" yes|no|unknown \" (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee); \n "
" \" bip125-replaceable \" : \" yes|no|unknown \" , (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee);\n "
" may be unknown for unconfirmed transactions not in the mempool \n "
" \" abandoned \" : xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n "
" 'send' category of transactions. \n "
" } \n "
" ] \n "
@ -1558,7 +1563,7 @@ UniValue listaccounts(const JSONRPCRequest& request)
@@ -1558,7 +1563,7 @@ UniValue listaccounts(const JSONRPCRequest& request)
" \n DEPRECATED. Returns Object that has account names as keys, account balances as values. \n "
" \n Arguments: \n "
" 1. minconf (numeric, optional, default=1) Only include transactions with at least this many confirmations \n "
" 2. include_watchonly (bool, optional, default=false) Include balances in watchonly addresses (see 'importaddress') \n "
" 2. include_watchonly (bool, optional, default=false) Include balances in watch- only addresses (see 'importaddress') \n "
" \n Result: \n "
" { (json object where keys are account names, and values are numeric balances \n "
" \" account \" : x.xxx, (numeric) The property name is the account name, and the value is the total balance for the account. \n "
@ -1638,7 +1643,7 @@ UniValue listsinceblock(const JSONRPCRequest& request)
@@ -1638,7 +1643,7 @@ UniValue listsinceblock(const JSONRPCRequest& request)
" \n Arguments: \n "
" 1. \" blockhash \" (string, optional) The block hash to list transactions since \n "
" 2. target_confirmations: (numeric, optional) The confirmations required, must be 1 or more \n "
" 3. include_watchonly: (bool, optional, default=false) Include transactions to watchonly addresses (see 'importaddress') "
" 3. include_watchonly: (bool, optional, default=false) Include transactions to watch- only addresses (see 'importaddress') "
" \n Result: \n "
" { \n "
" \" transactions \" : [ \n "
@ -1657,6 +1662,9 @@ UniValue listsinceblock(const JSONRPCRequest& request)
@@ -1657,6 +1662,9 @@ UniValue listsinceblock(const JSONRPCRequest& request)
" \" txid \" : \" transactionid \" , (string) The transaction id. Available for 'send' and 'receive' category of transactions. \n "
" \" time \" : xxx, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT). \n "
" \" timereceived \" : xxx, (numeric) The time received in seconds since epoch (Jan 1 1970 GMT). Available for 'send' and 'receive' category of transactions. \n "
" \" bip125-replaceable \" : \" yes|no|unknown \" , (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee); \n "
" may be unknown for unconfirmed transactions not in the mempool \n "
" \" abandoned \" : xxx, (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the 'send' category of transactions. \n "
" \" comment \" : \" ... \" , (string) If a comment is associated with the transaction. \n "
" \" label \" : \" label \" (string) A comment for the address/transaction, if any \n "
" \" to \" : \" ... \" , (string) If a comment to is associated with the transaction. \n "
@ -1730,10 +1738,12 @@ UniValue gettransaction(const JSONRPCRequest& request)
@@ -1730,10 +1738,12 @@ UniValue gettransaction(const JSONRPCRequest& request)
" \n Get detailed information about in-wallet transaction <txid> \n "
" \n Arguments: \n "
" 1. \" txid \" (string, required) The transaction id \n "
" 2. \" include_watchonly \" (bool, optional, default=false) Whether to include watchonly addresses in balance calculation and details[] \n "
" 2. \" include_watchonly \" (bool, optional, default=false) Whether to include watch- only addresses in balance calculation and details[] \n "
" \n Result: \n "
" { \n "
" \" amount \" : x.xxx, (numeric) The transaction amount in " + CURRENCY_UNIT + " \n "
" \" fee \" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + " . This is negative and only available for the \n "
" 'send' category of transactions. \n "
" \" confirmations \" : n, (numeric) The number of confirmations \n "
" \" blockhash \" : \" hash \" , (string) The block hash \n "
" \" blockindex \" : xx, (numeric) The index of the transaction in the block that includes it \n "
@ -1741,7 +1751,7 @@ UniValue gettransaction(const JSONRPCRequest& request)
@@ -1741,7 +1751,7 @@ UniValue gettransaction(const JSONRPCRequest& request)
" \" txid \" : \" transactionid \" , (string) The transaction id. \n "
" \" time \" : ttt, (numeric) The transaction time in seconds since epoch (1 Jan 1970 GMT) \n "
" \" timereceived \" : ttt, (numeric) The time received in seconds since epoch (1 Jan 1970 GMT) \n "
" \" bip125-replaceable \" : \" yes|no|unknown \" (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee); \n "
" \" bip125-replaceable \" : \" yes|no|unknown \" , (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee);\n "
" may be unknown for unconfirmed transactions not in the mempool \n "
" \" details \" : [ \n "
" { \n "
@ -1751,6 +1761,10 @@ UniValue gettransaction(const JSONRPCRequest& request)
@@ -1751,6 +1761,10 @@ UniValue gettransaction(const JSONRPCRequest& request)
" \" amount \" : x.xxx, (numeric) The amount in " + CURRENCY_UNIT + " \n "
" \" label \" : \" label \" , (string) A comment for the address/transaction, if any \n "
" \" vout \" : n, (numeric) the vout value \n "
" \" fee \" : x.xxx, (numeric) The amount of the fee in " + CURRENCY_UNIT + " . This is negative and only available for the \n "
" 'send' category of transactions. \n "
" \" abandoned \" : xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n "
" 'send' category of transactions. \n "
" } \n "
" ,... \n "
" ], \n "
@ -2291,7 +2305,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
@@ -2291,7 +2305,7 @@ UniValue getwalletinfo(const JSONRPCRequest& request)
" \" keypoolsize \" : xxxx, (numeric) how many new keys are pre-generated \n "
" \" unlocked_until \" : ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked \n "
" \" paytxfee \" : x.xxxx, (numeric) the transaction fee configuration, set in " + CURRENCY_UNIT + " /kB \n "
" \" hdmasterkeyid \" : \" <hash160> \" , (string) the Hash160 of the HD master pubkey\n "
" \" hdmasterkeyid \" : \" <hash160> \" (string) the Hash160 of the HD master pubkey \n "
" } \n "
" \n Examples: \n "
+ HelpExampleCli ( " getwalletinfo " , " " )
@ -2490,7 +2504,6 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
@@ -2490,7 +2504,6 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
" \" fee \" : n, (numeric) Fee in " + CURRENCY_UNIT + " the resulting transaction pays \n "
" \" changepos \" : n (numeric) The position of the added change output, or -1 \n "
" } \n "
" \" hex \" \n "
" \n Examples: \n "
" \n Create a transaction with no inputs \n "
+ HelpExampleCli ( " createrawtransaction " , " \" [] \" \" { \\ \" myaddress \\ \" :0.01} \" " ) +