Returns an object containing various wallet state info.

"walletversion": xxxxx, (numeric) the wallet version
"balance": xxxxxxx, (numeric) the total confirmed balance of the wallet in " + CURRENCY_UNIT + "
"unconfirmed_balance": xxx, (numeric) the total unconfirmed balance of the wallet in " + CURRENCY_UNIT + "
"immature_balance": xxxxxx, (numeric) the total immature balance of the wallet in " + CURRENCY_UNIT + "
"txcount": xxxxxxx, (numeric) the total number of transactions in the wallet
"keypoololdest": xxxxxx, (numeric) the timestamp (seconds since GMT 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 " + CURRENCY_UNIT + "/kB
"hdmasterkeyid": "", (string) the Hash160 of the HD master pubkey

> bitcoin-cli getwalletinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;'
Don't trust. Verify. Docs extracted from src/wallet/rpcwallet.cpp#L2260-L2285.