Get Wallet Info
Returns information about the wallet:
- "walletname" - name of the wallet.dat file
- "walletversion" - use getnetworkinfo to check this
- "balance" - balance in GLITCH
- "stake" - amount committed to a stake
- "unconfirmed_balance" - any balance that not published in the upcoming blocks
- "immature_balance" - any coinbase (Proof of Work) balance waiting to get 500 confirmations.
- "txcount" - the total number of transactions in the wallet
- "keypoololdest" - the Unix epoch timestamp in seconds
- "keypoolsize" - number of keys are pre-generated
- "keypoolsize_hd_internal" - number of keys are pre-generated for internal use (used for change addresses)
- "unlocked_until" - the Unix epoch time in seconds that the wallet is unlocked, or 0 if the wallet is locked.
- "paytxfee" - the transaction fee in GLITCH for 1,000 bytes
- "hdmasterkeyid" - a Hash 160 of the hierarchical deterministic (HD) master public key
getwalletinfo
{
"walletname": "wallet.dat",
"walletversion": 100000,
"balance": 100.00060855,
"stake": 0.00000000,
"unconfirmed_balance": 0.00000000,
"immature_balance": 0.00000000,
"txcount": 12,
"keypoololdest": 1507172726,
"keypoolsize": 134,
"unlocked_until": 0,
"paytxfee": 0.00000000,
"hdmasterkeyid": "c183052df36bc583fbec081490c4dc42b3e343165"
}