I am trying to get balance of accounts and when running bitcoin-cli listaccounts
I am getting the data look like this
{
"":0.81234545
}
I wanted to know what is the ""
and 0.81234545
and where my real addresses.
Thanks!
Note: The accounts feature is being deprecated from the codebase. Accounts are groupings of addresses, constructed by the wallet software.
You may find that the listunspent
or listreceivedbyaddress
commands are more useful for you.
I wanted to know what is the
""
and0.81234545
and where my real addresses
""
is the default name of an account
0.81234545
is the balance of your wallet, in BTC.
""
.
bitcoind
, an account is different than an address. A bitcoin explorer site would not show you an account, it would show you an address. To show you one of your 'accounts', the explorer site would need to know which group of addresses to include, but only your wallet will know that info. Trying to compare the output of bitcoin-cli listaccounts
with a block explorer site will not work in almost every case.