listtransactions
Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.
Arguments:
- 1."account" (string, optional) DEPRECATED. The account name. Should be "*".
- 2.count (numeric, optional, default=10) The number of transactions to return
- 3.skip (numeric, optional, default=0) The number of transactions to skip
- 4.include_watchonly (bool, optional, default=false) Include transactions to watch-only addresses (see 'importaddress')
Request body:
Request body
{
"jsonrpc": "2.0",
"method": "getbalance",
"params": ["*", 10],
"id": 1
}
Response Body:
[
{
"account": "",
"address": "MS2LKsjvZfY9P4XpzMXmWzARFLdubB881n",
"category": "receive",
"amount": 192.27546530,
"label": "",
"vout": 129,
"confirmations": 21,
"blockhash": "00000000003de95c43d020da9e429fff04d5d2ffae3e0cac6a8a0a271148d8c6",
"blockindex": 1,
"blocktime": 1675688950,
"txid": "ae4808624683e14d6758358d1ea8a4fd167561e31d90fa562ccc9a4f3285cbd2",
"walletconflicts": [
],
"time": 1675688904,
"timereceived": 1675688904,
"bip125-replaceable": "no"
},
{
"account": "",
"address": "MX78yzanr15FQSfZ6KRUcgedVF9kVBvmBZ",
"category": "receive",
"amount": 392.60328709,
"label": "",
"vout": 107,
"confirmations": 21,
"blockhash": "00000000003de95c43d020da9e429fff04d5d2ffae3e0cac6a8a0a271148d8c6",
"blockindex": 1,
"blocktime": 1675688950,
"txid": "ae4808624683e14d6758358d1ea8a4fd167561e31d90fa562ccc9a4f3285cbd2",
"walletconflicts": [
],
"time": 1675688904,
"timereceived": 1675688904,
"bip125-replaceable": "no"
},
{
"account": "",
"address": "MLb5PYGcjagwQEwJctNeRc4WW8w9xkrKDU",
"category": "receive",
"amount": 418.43106399,
"label": "",
"vout": 98,
"confirmations": 21,
"blockhash": "00000000003de95c43d020da9e429fff04d5d2ffae3e0cac6a8a0a271148d8c6",
"blockindex": 1,
"blocktime": 1675688950,
"txid": "ae4808624683e14d6758358d1ea8a4fd167561e31d90fa562ccc9a4f3285cbd2",
"walletconflicts": [
],
"time": 1675688904,
"timereceived": 1675688904,
"bip125-replaceable": "no"
}
]
Last modified 3mo ago