|
|
@ -2348,7 +2348,9 @@ UniValue listunspent(const UniValue& params, bool fHelp) |
|
|
|
" \"account\" : \"account\", (string) DEPRECATED. The associated account, or \"\" for the default account\n" |
|
|
|
" \"account\" : \"account\", (string) DEPRECATED. The associated account, or \"\" for the default account\n" |
|
|
|
" \"scriptPubKey\" : \"key\", (string) the script key\n" |
|
|
|
" \"scriptPubKey\" : \"key\", (string) the script key\n" |
|
|
|
" \"amount\" : x.xxx, (numeric) the transaction amount in " + CURRENCY_UNIT + "\n" |
|
|
|
" \"amount\" : x.xxx, (numeric) the transaction amount in " + CURRENCY_UNIT + "\n" |
|
|
|
" \"confirmations\" : n (numeric) The number of confirmations\n" |
|
|
|
" \"confirmations\" : n, (numeric) The number of confirmations\n" |
|
|
|
|
|
|
|
" \"spendable\" : xxx, (bool) Whether we have the private keys to spend this output\n" |
|
|
|
|
|
|
|
" \"solvable\" : xxx (bool) Whether we know how to spend this output, ignoring the lack of keys\n" |
|
|
|
" }\n" |
|
|
|
" }\n" |
|
|
|
" ,...\n" |
|
|
|
" ,...\n" |
|
|
|
"]\n" |
|
|
|
"]\n" |
|
|
@ -2425,6 +2427,7 @@ UniValue listunspent(const UniValue& params, bool fHelp) |
|
|
|
entry.push_back(Pair("amount",ValueFromAmount(nValue))); |
|
|
|
entry.push_back(Pair("amount",ValueFromAmount(nValue))); |
|
|
|
entry.push_back(Pair("confirmations",out.nDepth)); |
|
|
|
entry.push_back(Pair("confirmations",out.nDepth)); |
|
|
|
entry.push_back(Pair("spendable", out.fSpendable)); |
|
|
|
entry.push_back(Pair("spendable", out.fSpendable)); |
|
|
|
|
|
|
|
entry.push_back(Pair("solvable", out.fSolvable)); |
|
|
|
results.push_back(entry); |
|
|
|
results.push_back(entry); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -2446,6 +2449,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp) |
|
|
|
"Note that all existing inputs must have their previous output transaction be in the wallet.\n" |
|
|
|
"Note that all existing inputs must have their previous output transaction be in the wallet.\n" |
|
|
|
"Note that all inputs selected must be of standard form and P2SH scripts must be" |
|
|
|
"Note that all inputs selected must be of standard form and P2SH scripts must be" |
|
|
|
"in the wallet using importaddress or addmultisigaddress (to calculate fees).\n" |
|
|
|
"in the wallet using importaddress or addmultisigaddress (to calculate fees).\n" |
|
|
|
|
|
|
|
"You can see whether this is the case by checking the \"solvable\" field in the listunspent output.\n" |
|
|
|
"Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only\n" |
|
|
|
"Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only\n" |
|
|
|
"\nArguments:\n" |
|
|
|
"\nArguments:\n" |
|
|
|
"1. \"hexstring\" (string, required) The hex string of the raw transaction\n" |
|
|
|
"1. \"hexstring\" (string, required) The hex string of the raw transaction\n" |
|
|
|