mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 02:06:13 +00:00
RPC - Update listsinceblock
- Example updated with chainlock param - Removed bip125-replaceable param
This commit is contained in:
parent
b09853cf92
commit
794a4f97e1
4 changed files with 28 additions and 38 deletions
|
@ -305,7 +305,7 @@ default.
|
||||||
* [ListLockUnspent][rpc listlockunspent]: {{summary_listLockUnspent}}
|
* [ListLockUnspent][rpc listlockunspent]: {{summary_listLockUnspent}}
|
||||||
* [ListReceivedByAccount][rpc listreceivedbyaccount]: {{summary_listReceivedByAccount}} {{DASH_UPDATED0_13_0}} {{DEPRECATED}}
|
* [ListReceivedByAccount][rpc listreceivedbyaccount]: {{summary_listReceivedByAccount}} {{DASH_UPDATED0_13_0}} {{DEPRECATED}}
|
||||||
* [ListReceivedByAddress][rpc listreceivedbyaddress]: {{summary_listReceivedByAddress}} {{DASH_UPDATED0_13_0}}
|
* [ListReceivedByAddress][rpc listreceivedbyaddress]: {{summary_listReceivedByAddress}} {{DASH_UPDATED0_13_0}}
|
||||||
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}}
|
* [ListSinceBlock][rpc listsinceblock]: {{summary_listSinceBlock}} {{DASH_UPDATED0_14_0}}
|
||||||
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{DASH_UPDATED0_14_0}}
|
* [ListTransactions][rpc listtransactions]: {{summary_listTransactions}} {{DASH_UPDATED0_14_0}}
|
||||||
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
* [ListUnspent][rpc listunspent]: {{summary_listUnspent}} {{DASH_UPDATED0_12_3}} {{UPDATED0_13_0}}
|
||||||
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
* [LockUnspent][rpc lockunspent]: {{summary_lockUnspent}}
|
||||||
|
|
|
@ -71,7 +71,7 @@ The `listsinceblock` RPC {{summary_listSinceBlock}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Dash Core 0.12.2*
|
*Example from Dash Core 0.14.0*
|
||||||
|
|
||||||
Get all transactions since a particular block (including watch-only
|
Get all transactions since a particular block (including watch-only
|
||||||
transactions) and the header hash of the sixth most recent block.
|
transactions) and the header hash of the sixth most recent block.
|
||||||
|
@ -89,48 +89,43 @@ Result (edited to show only two payments):
|
||||||
"transactions": [
|
"transactions": [
|
||||||
{
|
{
|
||||||
"account": "",
|
"account": "",
|
||||||
"address": "yfCjqf9F7oNGD1sRqta2rNpCXSQ9dknDf5",
|
"address": "yLXe1NwXmhZbtM6drTXbWFvtEqpsJZkKd2",
|
||||||
"category": "send",
|
"category": "send",
|
||||||
"amount": -0.01000010,
|
"amount": -1.00000000,
|
||||||
"vout": 7,
|
"label": "Receiving",
|
||||||
"fee": 0.05000050,
|
"vout": 0,
|
||||||
"confirmations": 95,
|
"fee": -0.00000226,
|
||||||
"instantlock": false,
|
"confirmations": 0,
|
||||||
"blockhash": "0000000002aa705754c6ab4e15cf2183a1d174e61c080f64eb469c458669144b",
|
"instantlock": true,
|
||||||
"blockindex": 1,
|
"chainlock": false,
|
||||||
"blocktime": 1511972930,
|
"trusted": true,
|
||||||
"txid": "52e34eec71a4cf95c043b76567f55cec1bc293c444810d454a2d05f2a819b5ed",
|
"txid": "cc2e6c49faae395d79cfc91d188881e479f544c220e4dfee016889cd53b32645",
|
||||||
"walletconflicts": [
|
"walletconflicts": [
|
||||||
],
|
],
|
||||||
"time": 1511972930,
|
"time": 1554734925,
|
||||||
"timereceived": 1511974218,
|
"timereceived": 1554734925,
|
||||||
"bip125-replaceable": "no",
|
|
||||||
"abandoned": false
|
"abandoned": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"account": "",
|
"account": "",
|
||||||
"address": "yi2U4Cx2QH33LdNwk2c2oLABWzEZWhYU9k",
|
"address": "yLXe1NwXmhZbtM6drTXbWFvtEqpsJZkKd2",
|
||||||
"category": "send",
|
"category": "receive",
|
||||||
"amount": -0.01000010,
|
"amount": 1.00000000,
|
||||||
"vout": 8,
|
"label": "Receiving",
|
||||||
"fee": 0.05000050,
|
"vout": 0,
|
||||||
"confirmations": 95,
|
"confirmations": 0,
|
||||||
"instantlock": false,
|
"instantlock": true,
|
||||||
"blockhash": "0000000002aa705754c6ab4e15cf2183a1d174e61c080f64eb469c458669144b",
|
"chainlock": false,
|
||||||
"blockindex": 1,
|
"trusted": true,
|
||||||
"blocktime": 1511972930,
|
"txid": "cc2e6c49faae395d79cfc91d188881e479f544c220e4dfee016889cd53b32645",
|
||||||
"txid": "52e34eec71a4cf95c043b76567f55cec1bc293c444810d454a2d05f2a819b5ed",
|
|
||||||
"walletconflicts": [
|
"walletconflicts": [
|
||||||
],
|
],
|
||||||
"time": 1511972930,
|
"time": 1554734925,
|
||||||
"timereceived": 1511974218,
|
"timereceived": 1554734925
|
||||||
"bip125-replaceable": "no",
|
|
||||||
"abandoned": false
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"lastblock": "000000000dba5583e3fc5c2df06b478e922702f53a1476aac8eb4322f648ccea"
|
"lastblock": "0000000006be841cd8534b02733d833ad9dd7634ab0897a7e5cd92c574a529a3"
|
||||||
}
|
}
|
||||||
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
*See also*
|
*See also*
|
||||||
|
|
|
@ -103,11 +103,6 @@ http://opensource.org/licenses/MIT.
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "A Unix epoch time when the transaction was detected by the local node, or the time of the block on the local best block chain that included the transaction"
|
d: "A Unix epoch time when the transaction was detected by the local node, or the time of the block on the local best block chain that included the transaction"
|
||||||
|
|
||||||
- n: "{{DEPTH}}<br>`bip125-replaceable`"
|
|
||||||
t: "string"
|
|
||||||
p: "Required<br>(exactly 1)"
|
|
||||||
d: "*Added in Bitcoin Core 0.12.0*<br><br>Indicates if a transaction is replaceable under BIP 125:<br>• `yes` is replaceable<br>• `no` not replaceable<br>• `unknown` for unconfirmed transactions not in the mempool"
|
|
||||||
|
|
||||||
- n: "{{DEPTH}}<br>`comment`"
|
- n: "{{DEPTH}}<br>`comment`"
|
||||||
t: "string"
|
t: "string"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
|
|
|
@ -767,7 +767,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
||||||
<td class="tg-yw4l">Wallet</td>
|
<td class="tg-yw4l">Wallet</td>
|
||||||
<td class="tg-yw4l"><a href="#listsinceblock">ListSinceBlock</a></td>
|
<td class="tg-yw4l"><a href="#listsinceblock">ListSinceBlock</a></td>
|
||||||
<td class="tg-baqh">Y</td>
|
<td class="tg-baqh">Y</td>
|
||||||
<td class="tg-baqh"></td>
|
<td class="tg-baqh">Updated in 0.14.0</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tg-b7b8">Wallet</td>
|
<td class="tg-b7b8">Wallet</td>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue