From e555399b250d0adcfe80e84fe60aff92a125c3d2 Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Tue, 28 Feb 2017 11:09:09 -0800 Subject: [PATCH] Update 3_Playing_with_Bitcoin.md --- 3_Playing_with_Bitcoin.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/3_Playing_with_Bitcoin.md b/3_Playing_with_Bitcoin.md index c273f50..7301dae 100644 --- a/3_Playing_with_Bitcoin.md +++ b/3_Playing_with_Bitcoin.md @@ -345,8 +345,24 @@ The following shows that our transaction has been confirmed one time, but not tw ``` $ bitcoin-cli getbalance "*" 1 0.47000000 -user1@blockstream:~/.bitcoin/testnet3$ bitcoin-cli getbalance "*" 2 +$ bitcoin-cli getbalance "*" 2 0.00000000 ``` Obviously, every ten minutes or so this depth will increase. +You can also access all of this information with the 'bitcoin-cli getwalletinfo' command: +``` +$ bitcoin-cli getwalletinfo +{ + "walletversion": 130000, + "balance": 0.47000000, + "unconfirmed_balance": 0.00000000, + "immature_balance": 0.00000000, + "txcount": 1, + "keypoololdest": 1488216266, + "keypoolsize": 100, + "paytxfee": 0.00000000, + "hdmasterkeyid": "b91d5ec57d5ae3e90fff50d12e819429b6496b94" +} +``` +