mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
RPC - Add new listwallets RPC
This commit is contained in:
parent
0e6f88e5c4
commit
1de2b924a9
8 changed files with 65 additions and 0 deletions
|
@ -315,6 +315,7 @@ default.
|
|||
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}} {{DASH_UPDATED0_14_1}}
|
||||
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{DASH_UPDATED0_14_0}}
|
||||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_14_1}}
|
||||
* [ListWallets][rpc listwallets]: {{summary_listWallets}} {{DASH_NEW0_14_1}}
|
||||
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
||||
* [Move][rpc move]: {{summary_move}} {{DEPRECATED}}
|
||||
* [RemovePrunedFunds][rpc removeprunedfunds]: {{summary_removePrunedFunds}} {{DASH_NEW0_12_3}} {{NEW0_13_0}}
|
||||
|
|
51
_includes/devdoc/dash-core/rpcs/rpcs/listwallets.md
Normal file
51
_includes/devdoc/dash-core/rpcs/rpcs/listwallets.md
Normal file
|
@ -0,0 +1,51 @@
|
|||
{% comment %}
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/listwallets.md" %}
|
||||
<!--__-->
|
||||
|
||||
##### ListWallets
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
||||
{% assign summary_listWallets="returns a list of currently loaded wallets." %}
|
||||
|
||||
{% autocrossref %}
|
||||
|
||||
The `listwallets` RPC {{summary_listWallets}}
|
||||
|
||||
For full information on the wallet, use the `getwalletinfo` RPC.
|
||||
|
||||
*Parameters: none*
|
||||
|
||||
*Result*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`result`"
|
||||
t: "array"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "An array of strings containing a list of currently loaded wallet files"
|
||||
|
||||
- n: "→<br>Wallet"
|
||||
t: "string"
|
||||
p: "Required<br>(0 or more)"
|
||||
d: "The name of a wallet file"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.14.1*
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet listwallets
|
||||
{% endhighlight %}
|
||||
|
||||
Result:
|
||||
{% highlight json %}
|
||||
[
|
||||
"wallet.dat"
|
||||
]
|
||||
{% endhighlight %}
|
||||
|
||||
*See also: none*
|
||||
|
||||
{% endautocrossref %}
|
|
@ -101,6 +101,7 @@ This file is licensed under the terms of its source texts{%endcomment%}
|
|||
{% assign summary_listSinceBlock="gets all transactions affecting the wallet which have occurred since a particular block, plus the header hash of a block at a particular depth." %}
|
||||
{% assign summary_listTransactions="returns the most recent transactions that affect the wallet." %}
|
||||
{% assign summary_listUnspent="returns an array of unspent transaction outputs belonging to this wallet." %}
|
||||
{% assign summary_listWallets="returns a list of currently loaded wallets." %}
|
||||
{% assign summary_lockUnspent="temporarily locks or unlocks specified transaction outputs. A locked transaction output will not be chosen by automatic coin selection when spending dash. Locks are stored in memory only, so nodes start with zero locked outputs and the locked output list is always cleared when a node stops or fails." %}
|
||||
{% assign summary_masternode="provides a set of commands for managing masternodes and displaying information about them." %}
|
||||
{% assign summary_masternodeBroadcast="was removed in Dash Core 0.14.0." %}
|
||||
|
|
|
@ -793,6 +793,12 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">Updated in 0.14.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-yw4l">Wallet</td>
|
||||
<td class="tg-yw4l"><a href="#listwallets">ListWallets</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">Added in 0.14.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Wallet</td>
|
||||
<td class="tg-b7b8"><a href="#lockunspent">LockUnspent</a></td>
|
||||
|
|
|
@ -169,6 +169,7 @@ http://opensource.org/licenses/MIT.
|
|||
[rpc listsinceblock]: /en/developer-reference#listsinceblock
|
||||
[rpc listtransactions]: /en/developer-reference#listtransactions
|
||||
[rpc listunspent]: /en/developer-reference#listunspent
|
||||
[rpc listwallets]: /en/developer-reference#listwallets
|
||||
[rpc lockunspent]: /en/developer-reference#lockunspent
|
||||
[rpc masternode]: /en/developer-reference#masternode
|
||||
[rpc masternodebroadcast]: /en/developer-reference#masternodebroadcast
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue