A web based interface to the Bitcoin API JSON-RPC

Command: getwalletinfo

The getwalletinfo RPC provides information about the wallet.

Parameters: none
Result—information about the wallet

{
	"result": {
		"walletversion": 130000,
		"balance": 0.00000000,
		"unconfirmed_balance": 0.00000000,
		"immature_balance": 0.00000000,
		"txcount": 0,
		"keypoololdest": 1497505601,
		"keypoolsize": 90,
		"unlocked_until": 0,
		"paytxfee": 0.00000000,
		"hdmasterkeyid": "70503ac792b5cfb84786fcc3188f96e6b95e647b"
	},
	"error": null,
	"id": null
}
getwalletinfo
Returns an object containing various wallet state info.

Result:
{
  "walletversion": xxxxx,       (numeric) the wallet version
  "balance": xxxxxxx,           (numeric) the total confirmed balance of the wallet in BTC
  "unconfirmed_balance": xxx,   (numeric) the total unconfirmed balance of the wallet in BTC
  "immature_balance": xxxxxx,   (numeric) the total immature balance of the wallet in BTC
  "txcount": xxxxxxx,           (numeric) the total number of transactions in the wallet
  "keypoololdest": xxxxxx,      (numeric) the timestamp (seconds since Unix epoch) of the oldest pre-generated key in the key pool
  "keypoolsize": xxxx,          (numeric) how many new keys are pre-generated
  "unlocked_until": ttt,        (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked
  "paytxfee": x.xxxx,           (numeric) the transaction fee configuration, set in BTC/kB
  "hdmasterkeyid": "<hash160>" (string) the Hash160 of the HD master pubkey
}

Examples:
> bitcoin-cli getwalletinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/