![Forrest logo](/images/logo.png)
bitcoin-cli:tldr:32cd0
bitcoin-cli: Print high-level information about the wallet.
$ bitcoin-cli getwalletinfo
try on your machine
The command "bitcoin-cli getwalletinfo" is used in Bitcoin's command-line interface (CLI) to retrieve various information about the current state of the bitcoin wallet.
When you execute this command, the Bitcoin Core software will provide a detailed response that includes several key pieces of information. Here are some of the main details you will see:
- "walletname": The name of the Bitcoin wallet being queried. If you are running a single wallet, it will usually be called "wallet.dat".
- "walletversion": The version of the wallet software you are using.
- "balance": The total balance of the bitcoin wallet, which represents the sum of all the available bitcoin stored in the wallet's addresses.
- "unconfirmed_balance": The balance of unconfirmed transactions currently associated with the wallet. These transactions are yet to be confirmed by the Bitcoin network.
- "immature_balance": The balance arising from newly mined bitcoins that have not reached the required number of confirmations to be spent.
- "txcount": The total number of transactions associated with the wallet.
- "keypoololdest": The timestamp of the oldest key in the wallet's keypool.
- "keypoolsize": The size of the wallet's keypool (the pool of pre-generated private keys).
- "hdseedid": The unique identifier for the wallet's HD (hierarchical deterministic) seed.
- "txfee": The current transaction fee configuration for the wallet.
This command allows you to gather important information about your Bitcoin wallet, such as the balance, transaction count, and fee configuration. It helps you track the status of your funds and gain insights into your wallet's overall health.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.