bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/getwalletinfo
Wallet

getwalletinfo

Returns an object containing various wallet state info.

Returns

objectWallet state information

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getwalletinfo","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "walletname": "default",
  "walletversion": 169900,
  "format": "sqlite",
  "balance": 1.23456789,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 42,
  "keypoolsize": 1000,
  "paytxfee": 0.00000000,
  "private_keys_enabled": true,
  "descriptors": true
}
← Previous
gettransaction
Next →
importaddress

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗