bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/listunspent
Wallet

listunspent

Returns array of unspent transaction outputs (UTXOs) in the wallet.

Parameters

minconfnumberoptional
Min confirmations. Default: 1
maxconfnumberoptional
Max confirmations. Default: 9999999
addressesarrayoptional
Filter to these addresses
include_unsafebooleanoptional
Include unconfirmed outputs. Default: true
query_optionsobjectoptional
Additional query options

Returns

arrayArray of UTXO objects

Code Examples

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

Example Response

[
  {
    "txid": "a1075db55d...",
    "vout": 0,
    "address": "bc1q...",
    "amount": 0.50000000,
    "confirmations": 12,
    "spendable": true,
    "solvable": true,
    "safe": true
  }
]
← Previous
listtransactions
Next →
listwallets

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗