getwalletinfo (0.17.0 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockhash getblockheader getblockstats getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo help logging stop uptime generating generate generatetoaddress mining getblocktemplate getmininginfo getnetworkhashps prioritisetransaction submitblock network addnode clearbanned disconnectnode getaddednodeinfo getconnectioncount getnettotals getnetworkinfo getpeerinfo listbanned ping setban setnetworkactive rawtransactions combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript finalizepsbt fundrawtransaction getrawtransaction sendrawtransaction signrawtransaction signrawtransactionwithkey testmempoolaccept util createmultisig estimatesmartfee signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaccount getaccountaddress getaddressbyaccount getaddressesbylabel getaddressinfo getbalance getnewaddress getrawchangeaddress getreceivedbyaccount getreceivedbyaddress gettransaction getunconfirmedbalance getwalletinfo importaddress importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaccounts listaddressgroupings listlabels listlockunspent listreceivedbyaccount listreceivedbyaddress listsinceblock listtransactions listunspent listwallets loadwallet lockunspent move removeprunedfunds rescanblockchain sendfrom sendmany sendtoaddress setaccount sethdseed settxfee signmessage signrawtransactionwithwallet unloadwallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications getwalletinfo Returns an object containing various wallet state info. Result: { "walletname": xxxxx, (string) the wallet name "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 (only counts external keys) "keypoolsize_hd_internal": xxxx, (numeric) how many new keys are pre-generated for internal use (used for change outputs, only appears if the wallet is using this feature, otherwise external keys are used) "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 "hdseedid": "<hash160>" (string, optional) the Hash160 of the HD seed (only present when HD is enabled) "hdmasterkeyid": "<hash160>" (string, optional) alias for hdseedid retained for backwards-compatibility. Will be removed in V0.18. "private_keys_enabled": true|false (boolean) false if privatekeys are disabled for this wallet (enforced watch-only wallet) } 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/ Share on Twitter Facebook Google+