Dumpcoins

dumpcoins

dump all the UTXO tracked by the wallet.

Result:
{                        (json object)
  "address" : [          (json array) The list of UTXO corresponding to this address.
    {                    (json object)
      "txid" : "hex",    (string) The transaction id
      "vout" : n,        (numeric) The output number
      "depth" : n,       (numeric) The output's depth
      "value" : n        (numeric) The output's amount
    },
    ...
  ],
  ...
}

Examples:
> bitcoin-cli dumpcoins 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "dumpcoins", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/