mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Update 3_Playing_with_Bitcoin.md
This commit is contained in:
parent
d624943555
commit
e555399b25
@ -345,8 +345,24 @@ The following shows that our transaction has been confirmed one time, but not tw
|
|||||||
```
|
```
|
||||||
$ bitcoin-cli getbalance "*" 1
|
$ bitcoin-cli getbalance "*" 1
|
||||||
0.47000000
|
0.47000000
|
||||||
user1@blockstream:~/.bitcoin/testnet3$ bitcoin-cli getbalance "*" 2
|
$ bitcoin-cli getbalance "*" 2
|
||||||
0.00000000
|
0.00000000
|
||||||
```
|
```
|
||||||
Obviously, every ten minutes or so this depth will increase.
|
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"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user