mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Content - RPC - Update examples for RPCs using addlocked
This commit is contained in:
parent
7806d68e38
commit
dd5e804658
5 changed files with 13 additions and 17 deletions
|
@ -55,11 +55,11 @@ The `getbalance` RPC {{summary_getBalance}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Examples from Dash Core 0.12.2*
|
||||
*Examples from Dash Core 0.12.4*
|
||||
|
||||
Get the balance for the main ("") account, including transactions with
|
||||
at least five confirmations and those spent to watch-only addresses in
|
||||
that account. Do not add the InstantSend confirmations (5) for locked transactions.
|
||||
that account. Do not include InstantSend locked transactions.
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getbalance "" 3 false true
|
||||
|
@ -73,7 +73,7 @@ Result:
|
|||
|
||||
Get the balance for the main ("") account, including transactions with
|
||||
at least one confirmation and those spent to watch-only addresses in
|
||||
that account. Add the InstantSend confirmations (5) for locked transactions.
|
||||
that account. Include the balance from InstantSend locked transactions.
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getbalance "" 3 true true
|
||||
|
|
|
@ -51,11 +51,10 @@ The `getreceivedbyaddress` RPC {{summary_getReceivedByAddress}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.4*
|
||||
|
||||
Get the dash received for a particular address, only counting
|
||||
transactions with six or more confirmations (ignore InstantSend confirmations for
|
||||
locked InstantSend transactions):
|
||||
transactions with six or more confirmations (ignore InstantSend locked transactions):
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getreceivedbyaddress yYoCWcjbykWsQJ7MVJrTMeQd8TZe5N4Q7g 6
|
||||
|
@ -68,8 +67,7 @@ Result:
|
|||
{% endhighlight %}
|
||||
|
||||
Get the dash received for a particular address, only counting
|
||||
transactions with six or more confirmations (include InstantSend confirmations for
|
||||
locked InstantSend transactions):
|
||||
transactions with six or more confirmations (include InstantSend locked transactions):
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet getreceivedbyaddress yYoCWcjbykWsQJ7MVJrTMeQd8TZe5N4Q7g 6 true
|
||||
|
|
|
@ -53,10 +53,10 @@ Core. Use the RPCs listed in the See Also subsection below instead.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.4*
|
||||
|
||||
Display account balances with one confirmation and watch-only addresses
|
||||
included. Add the InstantSend confirmations (5) for locked transactions.
|
||||
included. Add the balance of InstantSend locked transactions also.
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet listaccounts 1 true true
|
||||
|
|
|
@ -88,11 +88,10 @@ Core. Use the RPCs listed in the See Also subsection below instead.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.4*
|
||||
|
||||
Get the balances for all non-empty accounts, including only transactions
|
||||
which have been confirmed at least six times (include InstantSend confirmations
|
||||
for locked InstantSend transactions):
|
||||
Get the balances for all non-empty accounts, including transactions
|
||||
which have been confirmed at least six times and InstantSend locked transactions:
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet listreceivedbyaccount 6 true false true
|
||||
|
|
|
@ -100,11 +100,10 @@ The `listreceivedbyaddress` RPC {{summary_listReceivedByAddress}}
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.2*
|
||||
*Example from Dash Core 0.12.4*
|
||||
|
||||
List addresses with balances confirmed by at least six blocks, including
|
||||
watch-only addresses (include InstantSend confirmations for locked InstantSend
|
||||
transactions):
|
||||
watch-only addresses. Also include the balance from InstantSend locked transactions:
|
||||
|
||||
{% highlight bash %}
|
||||
dash-cli -testnet listreceivedbyaddress 6 true false true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue