Skip to content

Instantly share code, notes, and snippets.

@weex
Created March 18, 2017 03:50
Show Gist options
  • Save weex/d9c0cab3d7e1f879dbb07169922fa7b0 to your computer and use it in GitHub Desktop.
Save weex/d9c0cab3d7e1f879dbb07169922fa7b0 to your computer and use it in GitHub Desktop.
bitcoin-cli listunspent - json example
vagrant@vagrant:~/causeway$ bitcoin-cli listunspent
[
{
"txid": "363739b300147839c24dee857bc7224dbe2e5e506e5dca7486edc4f0c385d8c9",
"vout": 0,
"address": "mjrhuk5SnsySp9VGvhCwvfgK3pwYU6Jm4y",
"account": "",
"scriptPubKey": "76a9142f9cd08d70c44bab7eb889b8402131479ebfd44088ac",
"amount": 0.02500000,
"confirmations": 1,
"spendable": true,
"solvable": true
},
{
"txid": "9dd37dfedfac917d1ad2b9052cd4dd83c0cd78ce9a1bc760231f775d056aece1",
"vout": 0,
"address": "mtzzmcKYG3w1WRZpo7s6yhMAuZi9gynHp7",
"account": "",
"scriptPubKey": "76a91493e75925783841d8544af72a864dff6b12fcb9f188ac",
"amount": 0.10000000,
"confirmations": 2,
"spendable": true,
"solvable": true
},
{
"txid": "6e6713daf4a251b5120d9a7d771c0470a7b9a0a0c45f4ca1890367d695ed0ff7",
"vout": 0,
"address": "mtzzmcKYG3w1WRZpo7s6yhMAuZi9gynHp7",
"account": "",
"scriptPubKey": "76a91493e75925783841d8544af72a864dff6b12fcb9f188ac",
"amount": 0.05000000,
"confirmations": 1,
"spendable": true,
"solvable": true
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment