bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/listtransactions
Wallet

listtransactions

Returns up to 'count' most recent transactions for the wallet.

Parameters

labelstringoptional
Filter by label. Default: "*" (all)
countnumberoptional
Number of transactions to return. Default: 10
skipnumberoptional
Number to skip. Default: 0
include_watchonlybooleanoptional
Include watch-only. Default: true for watch-only wallets

Returns

arrayArray of transaction objects

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"listtransactions","params":["*",10]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

[
  {
    "address": "bc1q...",
    "category": "receive",
    "amount": 0.50000000,
    "confirmations": 12,
    "txid": "a1075db55d...",
    "time": 1713571767
  }
]
← Previous
listreceivedbyaddress
Next →
listunspent

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗